Skip to content

Commit 653d490

Browse files
authored
Merge pull request #11 from dls-controls/fix-tests
Fix teardown messages of tests
2 parents 94bb2ac + 95db2b1 commit 653d490

File tree

3 files changed

+8
-74
lines changed

3 files changed

+8
-74
lines changed

Pipfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ pytest-cov = "*"
88
pytest-flake8 = "*"
99
sphinx-rtd-theme = "*"
1010
setuptools-dso = "*"
11-
aioca = "*"
1211
pytest-asyncio = "*"
1312

1413
[packages]
@@ -19,7 +18,7 @@ epicscorelibs = "*"
1918
# Add some other useful extras
2019
cothread = "*"
2120
scipy = "*"
22-
aioca = "*"
21+
aioca = ">=1.1"
2322

2423
[scripts]
2524
# Put coverage here so we don't interfere with debugging in the IDE

Pipfile.lock

Lines changed: 4 additions & 72 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/test_asyncio.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ def asyncio_ioc():
1919
cmd, stdin=subprocess.PIPE,
2020
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
2121
yield proc
22+
# purge the channels before the event loop goes
23+
from aioca import purge_channel_caches
24+
purge_channel_caches()
2225
if proc.returncode is None:
2326
# still running, kill it and print the output
2427
proc.kill()

0 commit comments

Comments
 (0)