Skip to content

Commit

Permalink
Test IOC starts
Browse files Browse the repository at this point in the history
  • Loading branch information
callumforrester committed Apr 16, 2024
1 parent c1b31cb commit f52b7ee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/epics/demo/test_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from typing import Dict
from unittest.mock import ANY, Mock, call

import aioca
import pytest
from bluesky.protocols import Reading

Expand Down Expand Up @@ -290,3 +291,9 @@ async def test_dynamic_sensor_group_read_and_describe(
"value": 1.0,
},
}


async def test_ioc_starts():
pv_prefix = demo.start_ioc_subprocess()
pv = f"{pv_prefix}Value"
await aioca.connect(pv)

0 comments on commit f52b7ee

Please sign in to comment.