Index: typ/tests/main_test.py |
diff --git a/typ/tests/main_test.py b/typ/tests/main_test.py |
index 02993755ea62c52e45b972eb25586fde69fbe65b..75fb3354b096ccfbe7fe8e4a5067dbe40fdd4d77 100644 |
--- a/typ/tests/main_test.py |
+++ b/typ/tests/main_test.py |
@@ -18,7 +18,6 @@ import os |
import sys |
import textwrap |
- |
from typ import main |
from typ import test_case |
from typ import Host |
@@ -142,15 +141,19 @@ SF_TEST_FILES = {'sf_test.py': SF_TEST_PY} |
LOAD_TEST_PY = """ |
import unittest |
+ |
class BaseTest(unittest.TestCase): |
pass |
+ |
def method_fail(self): |
self.fail() |
+ |
def method_pass(self): |
pass |
+ |
def load_tests(_, _2, _3): |
setattr(BaseTest, "test_fail", method_fail) |
setattr(BaseTest, "test_pass", method_pass) |