Commits

Kelvin Wong  committed 9041424 Draft

Remove the stripws test

  • Participants
  • Parent commits 29324ce

Comments (0)

Files changed (1)

File tests/test_django_scrypt.py

 
 import django_scrypt
 from django_scrypt.hashers import (
-    ScryptPasswordHasher, base64, stripws, stringify)
+    ScryptPasswordHasher, base64, stringify)
 
 try:
     import scrypt
         self.assertEqual(encoded, expected)
         self.assertTrue(isinstance(encoded, bytes))
 
-    def test_stripws(self):
-        """Return a copy of the string with leading and trailing characters
-        removed
-        """
-        stripped = stripws(self.spacey_str)
-        expected = self.stripped_str
-        self.assertEqual(stripped, expected)
-
     @skipUnless(not PYTHON3, "Python 2 required")
     def test_stringify_py2(self):
         """String returned is suitable for use by hasher"""