forked from github/pelican
Fix Windows tests
* Unskip passable tests * Fix broken tests
This commit is contained in:
parent
839629b102
commit
2e482b207b
10 changed files with 58 additions and 41 deletions
|
|
@ -160,6 +160,19 @@ def locale_available(locale_):
|
|||
return True
|
||||
|
||||
|
||||
def can_symlink():
|
||||
res = True
|
||||
try:
|
||||
with temporary_folder() as f:
|
||||
os.symlink(
|
||||
f,
|
||||
os.path.join(f, 'symlink')
|
||||
)
|
||||
except OSError:
|
||||
res = False
|
||||
return res
|
||||
|
||||
|
||||
def get_settings(**kwargs):
|
||||
"""Provide tweaked setting dictionaries for testing
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue