Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Made necessarry changes to unitests for them to pass

  • Loading branch information...
commit e587bd7b5e90355dca0cbf4b2f9e660982151b97 1 parent bcb88b9
@cdman cdman authored
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.