Skip to content

Commit

Permalink
tweaks on a weedy laptop
Browse files Browse the repository at this point in the history
  • Loading branch information
coretl committed Jul 3, 2020
1 parent e2bd351 commit c693f0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"python.pythonPath": "/home/tom/.local/share/virtualenvs/aioca-4YYuDdK-/bin/python",
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.enabled": true,
Expand All @@ -8,8 +7,5 @@
"python.testing.nosetestsEnabled": false,
"python.testing.pytestEnabled": true,
"python.formatting.provider": "black",
"python.jediEnabled": false,
"vsintellicode.python.completionsEnabled": true,
"restructuredtext.confPath": "${workspaceFolder}/docs"

"python.languageServer": "Microsoft"
}
3 changes: 2 additions & 1 deletion tests/test_aioca.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ async def test_cainfo(ioc: subprocess.Popen) -> None:

@pytest.mark.asyncio
async def test_get_ne_pvs_no_throw(ioc: subprocess.Popen) -> None:
values = await caget([WAVEFORM, NE], throw=False, timeout=2.0)
wait_for_ioc(ioc)
values = await caget([WAVEFORM, NE], throw=False, timeout=1.0)
assert [True, False] == [v.ok for v in values]
assert pytest.approx([]) == values[0]
ioc.communicate("exit")
Expand Down

0 comments on commit c693f0b

Please sign in to comment.