Make pytest work with nosetest

pull/34/head
Konstantin Gründger 2017-10-01 14:29:45 +02:00
rodzic 447af69337
commit 44454c8676
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -9,7 +9,7 @@ class TestStringMethods(unittest.TestCase):
def test_parseAngle(self):
self.assertAlmostEqual(parseAngle('05048.30'), 50.805, 5)
def proceed_test_data(self, test_data):
def proceed_test_data(self, test_data={}):
for test in test_data:
if test[3]:
timestamp = createTimestamp(test[0], reference_date=test[1], reference_time=test[2])