Skip to content

Commit

Permalink
Remove perform_health_check setting
Browse files Browse the repository at this point in the history
  • Loading branch information
spk committed Jun 10, 2019
1 parent 81fd5e9 commit 2c62d03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ def benchmark():
verbosity=Verbosity.verbose,
))
settings.register_profile("deterministic", settings(
derandomize=True,
perform_health_check=False
derandomize=True
))

if os.environ.get('DETERMINISTIC_TESTS', 'false').lower() == 'true':
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_repair.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


@given(uid=uid_strategy)
@settings(perform_health_check=False) # Using the random module for UIDs
@settings(deadline=None, max_examples=1) # Using the random module for UIDs
def test_repair_uids(uid):
s = MemoryStorage()
s.items = {
Expand All @@ -35,7 +35,7 @@ def test_repair_uids(uid):


@given(uid=uid_strategy.filter(lambda x: not href_safe(x)))
@settings(perform_health_check=False) # Using the random module for UIDs
@settings(deadline=None, max_examples=1) # Using the random module for UIDs
def test_repair_unsafe_uids(uid):
s = MemoryStorage()
item = Item(u'BEGIN:VCARD\nUID:123\nEND:VCARD').with_uid(uid)
Expand Down

0 comments on commit 2c62d03

Please sign in to comment.