summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.Dotsenko <dotsa@hotmail.com>2010-10-31 22:26:42 -0700
committerD.Dotsenko <dotsa@hotmail.com>2010-10-31 22:26:42 -0700
commit702f3909520d39e8c343dece7b1e2d72e1479bbe (patch)
tree2373ea9f01da2845a2879f4bb97a829dce173789
parent31508e14495cbe338204e476f3c2ccd368cb57fc (diff)
downloadgitpython-702f3909520d39e8c343dece7b1e2d72e1479bbe.tar.gz
Changed the test_submodule.py to be detected by nose
-rw-r--r--[-rwxr-xr-x]test/git/test_submodule.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/git/test_submodule.py b/test/git/test_submodule.py
index c724ed77..bd4179ce 100755..100644
--- a/test/git/test_submodule.py
+++ b/test/git/test_submodule.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
# test_submodule.py
# Copyright (C) 2008-2010 Michael Trier (mtrier@gmail.com) and contributors
#
@@ -18,7 +19,7 @@ import zipfile
from test.testlib import *
from git import *
-class test_Submodule(unittest.TestCase):
+class TestSubmodule(unittest.TestCase):
def setUp(self):
_p = tempfile.mkdtemp()
@@ -59,6 +60,6 @@ class test_Submodule(unittest.TestCase):
if __name__ == "__main__":
unittest.TextTestRunner(verbosity=2).run(
unittest.TestSuite([
- unittest.TestLoader().loadTestsFromTestCase(test_Submodule),
+ unittest.TestLoader().loadTestsFromTestCase(TestSubmodule),
])
)