Commits

Kelvin Wong committed e53d439 Draft

Lower verbosity and make time values into floats

  • Participants
  • Parent commits 2fca69f

Comments (0)

Files changed (2)

         suite = defaultTestLoader.loadTestsFromModule(test_scrypt)
         suite.addTests(defaultTestLoader.loadTestsFromModule(test_scrypt_py2x))
         suite.addTests(defaultTestLoader.loadTestsFromModule(test_scrypt_py3x))
-        runner = TextTestRunner(verbosity=2)
+        runner = TextTestRunner()
         result = runner.run(suite)
 
 cmdclasses['test'] = Tester

File tests/test_scrypt.py

         self.input = "message"
         self.password = "password"
         self.longinput = str(urandom(100000))
-        self.five_minutes = 300
-        self.five_seconds = 5
+        self.five_minutes = 300.0
+        self.five_seconds = 5.0
         self.one_byte = 1  # in Bytes
         self.one_megabyte = 1024 * 1024  # in Bytes
         self.ten_megabytes = 10 * self.one_megabyte