Skip to content

Commit 2a8286b

Browse files
committed
Add relational worker tests
1 parent 7f310fe commit 2a8286b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/core/workers/test_relational_worker.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ def test_running() -> None:
9292
assert relational_worker_two.last_run != relational_worker_one.last_run
9393
assert TestRelationalWorkerOne.last_run != TestRelationalWorkerTwo.last_run
9494

95+
previous_run = relational_worker_two.last_run
96+
97+
relational_worker_two.start()
98+
99+
assert relational_worker_two.last_run == previous_run
100+
95101

96102
def test_observing() -> None:
97103
# Reset the values

0 commit comments

Comments
 (0)