Skip to content

Commit

Permalink
Moved parts/capart.py to parts/ca/capart.py
Browse files Browse the repository at this point in the history
  • Loading branch information
coretl committed Jul 18, 2016
1 parent 3d3e8a5 commit c7927b1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Empty file added malcolm/parts/ca/__init__.py
Empty file.
File renamed without changes.
Empty file.
@@ -1,6 +1,6 @@
import os
import sys
sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
sys.path.append(os.path.join(os.path.dirname(__file__), "..", ".."))
import setup_malcolm_paths

import unittest
Expand Down Expand Up @@ -34,15 +34,15 @@ def test_init(self):
p.block.add_attribute.assert_called_once_with(p.attr)

def test_init_no_rbv(self):
from malcolm.parts.capart import CAPart
from malcolm.parts.ca.capart import CAPart
meta = MagicMock()
meta.name = "meta"
p = CAPart("me", MagicMock(), MagicMock(), meta, "pv")
self.assertEqual(p.rbv, "pv")
self.assertEqual(p.pv, "pv")

def create_part(self):
from malcolm.parts.capart import CAPart
from malcolm.parts.ca.capart import CAPart
process = MagicMock()
block = MagicMock()
meta = MagicMock()
Expand Down

0 comments on commit c7927b1

Please sign in to comment.