Index: expect_tests/type_definitions.py |
diff --git a/expect_tests/type_definitions.py b/expect_tests/type_definitions.py |
index da25f8a2535360e6fd33f50ac1a91cbd9fcb96f8..e947bb9f77afa4014eba3aaf73c8687fc3f3b575 100644 |
--- a/expect_tests/type_definitions.py |
+++ b/expect_tests/type_definitions.py |
@@ -151,6 +151,10 @@ class FuncCall(object): |
_Test = namedtuple( |
'Test', 'name func_call expect_dir expect_base ext covers breakpoints') |
+class FakeTest(_Test): |
+ """Like Test but without the hard-to-pickle stuff.""" |
+ pass |
tandrii(chromium)
2014/09/12 17:27:03
maybe, this:
class TestInfo(namedtuple('TestInfo'
|
+ |
class Test(_Test): |
TEST_COVERS_MATCH = re.compile('.*/test/([^/]*)_test\.py$') |
@@ -249,6 +253,12 @@ class Test(_Test): |
_MultiTest = namedtuple( |
'MultiTest', 'name make_ctx_call destroy_ctx_call tests atomic') |
+ |
+class FakeMultiTest(_MultiTest): |
dnj
2014/09/12 17:35:38
Is this used?
|
+ """Like MultiTest, without the hard-to-pickle stuff.""" |
+ pass |
+ |
+ |
class MultiTest(_MultiTest): |
"""A wrapper around one or more Test instances. |