We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eccf532 commit 99e73beCopy full SHA for 99e73be
test/test_modules.py
@@ -1,5 +1,6 @@
1
-from unittest import TestCase
2
import json
+from datetime import datetime
3
+from unittest import TestCase
4
5
from etherscan.etherscan import Etherscan
6
@@ -32,9 +33,10 @@ def test_methods(self):
32
33
# Create log files (will update existing ones)
34
fname = f"logs/{fun}.json"
35
log = {
- "name": fun,
36
+ "method": fun,
37
"module": v["module"],
38
"kwargs": v["kwargs"],
39
+ "timestamp": datetime.now().strftime("%Y-%m-%d-%H:%M:%S"),
40
"res": res,
41
}
42
dump(log, fname)
0 commit comments