File tree Expand file tree Collapse file tree
tests/com/dvsnier/git/remote Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# -*- coding:utf-8 -*-
22
3- from com .dvsnier .git .remote .remote import Remote
43import unittest
54
5+ from com .dvsnier .git .git import Git
6+ from com .dvsnier .git .remote .remote import Remote
7+
68
79class Test_Remote (unittest .TestCase ):
810 ''' the test remote '''
11+
912 @classmethod
1013 def setUpClass (cls ):
1114 print ("...the set up..." )
12- print
15+ print ('' )
16+ cls ._git = Git ()
17+ cls ._git .config ()
18+ cls ._prune = Remote ()
1319
1420 def setUp (self ):
1521 return super (Test_Remote , self ).setUp ()
1622
1723 def test_branch_prune (self ):
18- prune = Remote ()
19- prune .branch_prune ()
20- print "the test branch_prune is succeed."
21- pass
24+ Test_Remote ._prune .branch_prune ()
25+ # print("the test branch_prune is succeed.")
2226
2327 def tearDown (self ):
2428 return super (Test_Remote , self ).tearDown ()
2529
2630 @classmethod
2731 def tearDownClass (cls ):
28- print
32+ print ( '' )
2933 print ("...the tear down..." )
3034
3135
3236if __name__ == '__main__' :
33- unittest .main ()
37+ suite = unittest .TestLoader ().loadTestsFromTestCase (Test_Remote )
38+ unittest .TextTestRunner (verbosity = 2 ).run (suite )
You can’t perform that action at this time.
0 commit comments