Skip to content

Commit 7aa794a

Browse files
committed
feat(DEVC-1286): omit some example file from coverage calc
1 parent 063984e commit 7aa794a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docs/modules/ROOT/examples/cache/tutorial006.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ def scheduled_app(event: ScheduledDataTimeEvent, api: Api, cache: Cache):
2626
'key_with_custom_expiry': 'value_2',
2727
}
2828

29-
time.sleep(1) # <.>
29+
time.sleep(1 + 0.01) # <.>
3030

3131
assert cache.get_all() == {'key': 'value_1'} # <.>

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ omit = [
8888
"docs/modules/ROOT/examples/logging/tutorial003.py",
8989
"docs/modules/ROOT/examples/logging/tutorial004.py",
9090
"docs/modules/ROOT/examples/logging/tutorial005.py",
91+
"docs/modules/ROOT/examples/testing/tutorial008.py",
9192
"docs/modules/ROOT/examples/followable/tutorial001.py",
9293
"src/corva/__init__.py",
9394
"src/version.py",

0 commit comments

Comments
 (0)