Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python
python-xkcdpass
fix-test-assertion-methods.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-test-assertion-methods.patch of Package python-xkcdpass
Index: xkcdpass-1.19.8/tests/test_xkcdpass.py =================================================================== --- xkcdpass-1.19.8.orig/tests/test_xkcdpass.py +++ xkcdpass-1.19.8/tests/test_xkcdpass.py @@ -58,7 +58,7 @@ class XkcdPasswordTests(unittest.TestCas wordlist, numwords=numwords, random_delimiters=True ) # check that the result is the right length - self.assertEquals(len(result), numwords * wordlength + (numwords - 1)) + self.assertEqual(len(result), numwords * wordlength + (numwords - 1)) # check we have the right number of delimiters self.assertEqual( len([x for x in result if x in set(xkcd_password.DEFAULT_DELIMITERS)]),
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor