fix import error
This commit is contained in:
@@ -14,14 +14,14 @@ from waybackpy.utils import (
|
|||||||
_check_match_type,
|
_check_match_type,
|
||||||
_check_collapses,
|
_check_collapses,
|
||||||
_check_filters,
|
_check_filters,
|
||||||
_ts,
|
_timestamp_manager,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def test_ts():
|
def test_timestamp_manager():
|
||||||
timestamp = True
|
timestamp = True
|
||||||
data = {}
|
data = {}
|
||||||
assert _ts(timestamp, data)
|
assert _timestamp_manager(timestamp, data)
|
||||||
|
|
||||||
data = """
|
data = """
|
||||||
{"archived_snapshots": {"closest": {"timestamp": "20210109155628", "available": true, "status": "200", "url": "http://web.archive.org/web/20210109155628/https://www.google.com/"}}, "url": "https://www.google.com/"}
|
{"archived_snapshots": {"closest": {"timestamp": "20210109155628", "available": true, "status": "200", "url": "http://web.archive.org/web/20210109155628/https://www.google.com/"}}, "url": "https://www.google.com/"}
|
||||||
|
Reference in New Issue
Block a user