mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-19 13:05:52 +00:00
Set defaults for CI and DETERMINISTIC_TESTS. (#653)
This makes it a bit easier to manually run individual tests.
This commit is contained in:
parent
bde00c227a
commit
01c88b514c
1 changed files with 2 additions and 2 deletions
|
|
@ -37,7 +37,7 @@ settings.register_profile("deterministic", settings(
|
|||
derandomize=True,
|
||||
))
|
||||
|
||||
if os.environ['DETERMINISTIC_TESTS'].lower() == 'true':
|
||||
if os.environ.get('DETERMINISTIC_TESTS', 'false').lower() == 'true':
|
||||
settings.load_profile("deterministic")
|
||||
elif os.environ['CI'].lower() == 'true':
|
||||
elif os.environ.get('CI', 'false').lower() == 'true':
|
||||
settings.load_profile("ci")
|
||||
|
|
|
|||
Loading…
Reference in a new issue