Commits

Jan-Jaap Driessen committed 3fcb4e8

must be my machine is faster nowadays. add sleep time in order to notice a difference in computing hashes.

Comments (0)

Files changed (2)

tests/test_checksum.py

 
 def test_mtime(tmpdir):
     testdata_path = str(_copy_testdata(tmpdir))
-    sleep = 0.02
+    sleep = 0.5
     # Sleep extra long on filesystems that report in seconds
     # instead of milliseconds.
     if os.path.getmtime(os.curdir).is_integer():

tests/test_core.py

     # now create a file
     resource = tmpdir.join('test.js')
 
-    time.sleep(0.02)
+    time.sleep(0.5)
     # Sleep extra long on filesystems that report in seconds
     # instead of milliseconds.
     if os.path.getmtime(os.curdir).is_integer():
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.