summaryrefslogtreecommitdiff
path: root/tests/arch/processor.py
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-04 18:50:07 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-04 18:50:07 (GMT)
commitb9fe3a839e9212b809d64c11bf92b703adb18fb2 (patch)
tree86a1c42f305265372bb4d697dad9c99f2ea3715a /tests/arch/processor.py
parent0b2cada60941d109bde2f54a198f4c3a799e0606 (diff)
Updated the test suite for the current API.
Diffstat (limited to 'tests/arch/processor.py')
-rw-r--r--tests/arch/processor.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/arch/processor.py b/tests/arch/processor.py
index 5ad6490..97a713d 100644
--- a/tests/arch/processor.py
+++ b/tests/arch/processor.py
@@ -16,7 +16,6 @@ class TestProcessor(ChrysalideTestCase):
"""TestCase for arch.ArchProcessor."""
-
def testGI(self):
"""Validate the GObject introspection."""
@@ -27,7 +26,7 @@ class TestProcessor(ChrysalideTestCase):
class NewContext(ProcContext):
pass
- class NewProc(ArchProcessor):
+ class NewProcWithCtx(ArchProcessor):
def _get_context(self):
return NewContext()
@@ -36,7 +35,7 @@ class TestProcessor(ChrysalideTestCase):
return None
- np = NewProc()
+ np = NewProcWithCtx()
data = b'\x01\x02\x03\x04'
cnt = MemoryContent(data)