Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge remote-tracking branch 'cdman/fixup-unittests' into _testing

  • Loading branch information...
commit a828e4790734e9f21ebcf907bf2107a2527422c7 2 parents dbdc6cc + 63c4f6c
@msabramo msabramo authored
View
3  .gitignore
@@ -0,0 +1,3 @@
+*~
+*.pyc
+*.swp
View
2  openid/test/data/test1-parsehtml.txt
@@ -148,5 +148,5 @@ None
</body><html><head>
<meta http-equiv="X-XRDS-Location" content="found">
-None
+EOF
<!bad processing instruction!>
View
2  openid/test/test_accept.py
@@ -124,4 +124,4 @@ def pyUnitTests():
if __name__ == '__main__':
runner = unittest.TextTestRunner()
- runner.run(loadTests())
+ runner.run(pyUnitTests())
View
4 openid/test/test_parsehtml.py
@@ -15,7 +15,7 @@ def __init__(self, filename, testname, expected, case):
def runTest(self):
p = YadisHTMLParser()
- try:
+ try:
p.feed(self.case)
except ParseDone, why:
found = why[0]
@@ -57,7 +57,7 @@ def pyUnitTests():
def test():
runner = unittest.TextTestRunner()
- return runner.run(loadTests())
+ return runner.run(pyUnitTests())
filenames = ['data/test1-parsehtml.txt']
View
2  openid/test/test_yadis_discover.py
@@ -173,7 +173,7 @@ def pyUnitTests():
def test():
runner = unittest.TextTestRunner()
- return runner.run(loadTests())
+ return runner.run(pyUnitTests())
if __name__ == '__main__':
test()
Please sign in to comment.
Something went wrong with that request. Please try again.