-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from jwlodek/add-create-dir-depth
Add two records: CreateDirectories and DirectoryExists. Automatically create directories based on this PV like in AD
- Loading branch information
Showing
5 changed files
with
281 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,23 @@ | ||
# flake8: noqa | ||
|
||
import os | ||
|
||
from fixtures.mocked_panda import * | ||
from fixtures.panda_data import * | ||
|
||
|
||
# Autouse fixture that will set all EPICS networking env vars to use lo interface | ||
# to avoid false failures caused by things like firewalls blocking EPICS traffic. | ||
@pytest.fixture(scope="session", autouse=True) | ||
def configure_epics_environment(): | ||
os.environ["EPICS_CAS_INTF_ADDR_LIST"] = "127.0.0.1" | ||
os.environ["EPICS_CAS_BEACON_ADDR_LIST"] = "127.0.0.1" | ||
os.environ["EPICS_CA_ADDR_LIST"] = "127.0.0.1" | ||
os.environ["EPICS_CAS_AUTO_ADDR_LIST"] = "NO" | ||
os.environ["EPICS_CA_AUTO_BEACON_ADDR_LIST"] = "NO" | ||
|
||
os.environ["EPICS_PVAS_INTF_ADDR_LIST"] = "127.0.0.1" | ||
os.environ["EPICS_PVAS_BEACON_ADDR_LIST"] = "127.0.0.1" | ||
os.environ["EPICS_PVA_ADDR_LIST"] = "127.0.0.1" | ||
os.environ["EPICS_PVAS_AUTO_BEACON_ADDR_LIST"] = "NO" | ||
os.environ["EPICS_PVA_AUTO_ADDR_LIST"] = "NO" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.