Skip to content

Commit 702f390

Browse files
committed
Changed the test_submodule.py to be detected by nose
1 parent 31508e1 commit 702f390

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/git/test_submodule.py

100755100644
+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
# test_submodule.py
23
# Copyright (C) 2008-2010 Michael Trier ([email protected]) and contributors
34
#
@@ -18,7 +19,7 @@
1819
from test.testlib import *
1920
from git import *
2021

21-
class test_Submodule(unittest.TestCase):
22+
class TestSubmodule(unittest.TestCase):
2223

2324
def setUp(self):
2425
_p = tempfile.mkdtemp()
@@ -59,6 +60,6 @@ def test_submodule_attributes(self):
5960
if __name__ == "__main__":
6061
unittest.TextTestRunner(verbosity=2).run(
6162
unittest.TestSuite([
62-
unittest.TestLoader().loadTestsFromTestCase(test_Submodule),
63+
unittest.TestLoader().loadTestsFromTestCase(TestSubmodule),
6364
])
6465
)

0 commit comments

Comments
 (0)