Skip to content

Commit 6af0a75

Browse files
committed
Minor object-oriented corrections
1 parent bbdd6f8 commit 6af0a75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_facade.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
class TestRunnerFacilities(unittest.TestCase):
88

99
def setUp(self):
10-
self.tc = TC1
10+
self.tc = TC1()
1111
self.average_result_tc1 = "###### In Test 1 ######\n" + \
1212
"Setting up\n" + \
1313
"Running test\n" + \
@@ -22,7 +22,7 @@ def test_tc1_output(self):
2222
from StringIO import StringIO
2323
out = StringIO()
2424
sys.stdout = out
25-
self.tc.run(self)
25+
self.tc.run()
2626
output = out.getvalue().strip()
2727
self.assertEqual(output, self.average_result_tc1)
2828

0 commit comments

Comments
 (0)