File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ def test():
150150
151151 mod = open (testfile , 'r+b' )
152152 mod .seek (0 )
153- mod .write ('# changed!' )
153+ mod .write (s2b ( '# changed!' ) )
154154 mod .close ()
155155
156156 assert not checkDigest (testfile ), "digest fails after modification"
Original file line number Diff line number Diff line change 99from roundup .anypy .strings import StringIO # define StringIO
1010from roundup .cgi import cgitb
1111from roundup .cgi .accept_language import parse
12-
12+ from roundup import install_util
1313
1414class AcceptLanguageTest (unittest .TestCase ):
1515 def testParse (self ):
@@ -207,3 +207,7 @@ def notest_html(self):
207207 self .assertEqual (expected3 , h )
208208 else :
209209 self .assertEqual (expected2 , h )
210+
211+ class InstallUtilTest (unittest .TestCase ):
212+ def test_run_test (self ):
213+ install_util .test ()
You can’t perform that action at this time.
0 commit comments