Skip to content

Commit

Permalink
Fixup ca tests
Browse files Browse the repository at this point in the history
  • Loading branch information
coretl committed Jun 15, 2017
1 parent b82954f commit bd9326b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cothread/load_ca.py
Expand Up @@ -38,7 +38,7 @@
import platform
import os

from .epicsarch import epics_host_arch
from epicsarch import epics_host_arch

# Figure out the libraries that need to be loaded and the loading method.
load_library = ctypes.cdll.LoadLibrary
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions tests/test_unittest.py → tests/test_catools.py
@@ -1,18 +1,18 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
from cothread import counittest, catools

here = os.path.dirname(__file__)


class SoftIocTest(counittest.TestCase):
iocexe = 'softIoc'
iocload = (
('tests/test_unittest.db', 'P=$(TESTPREFIX)'),
(os.path.join(here, 'soft_records.db'), 'P=$(TESTPREFIX)'),
)
iocpost = "dbl\r"

def test_nothing(self):
self.assertTrue(True)

def test_ai(self):
# wait for CA server to start
self.assertIOCRunning()
Expand Down

0 comments on commit bd9326b

Please sign in to comment.