formatting
This commit is contained in:
@@ -177,6 +177,7 @@ def test_near() -> None:
|
|||||||
)
|
)
|
||||||
cdx.near(unix_timestamp=1286705410)
|
cdx.near(unix_timestamp=1286705410)
|
||||||
|
|
||||||
|
|
||||||
def test_before() -> None:
|
def test_before() -> None:
|
||||||
user_agent = (
|
user_agent = (
|
||||||
"Mozilla/5.0 (MacBook Air; M1 Mac OS X 11_4) "
|
"Mozilla/5.0 (MacBook Air; M1 Mac OS X 11_4) "
|
||||||
@@ -210,4 +211,4 @@ def test_after() -> None:
|
|||||||
assert "20160801000917" in after.timestamp, after.timestamp
|
assert "20160801000917" in after.timestamp, after.timestamp
|
||||||
assert "google" in after.urlkey
|
assert "google" in after.urlkey
|
||||||
assert after.original.find("google.com") != -1
|
assert after.original.find("google.com") != -1
|
||||||
assert after.archive_url.find("google.com") != -1
|
assert after.archive_url.find("google.com") != -1
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ class WaybackMachineCDXServerAPI:
|
|||||||
+ "Either there are no archives before the given date,"
|
+ "Either there are no archives before the given date,"
|
||||||
+ " the URL may not have any archived, or the URL may have been"
|
+ " the URL may not have any archived, or the URL may have been"
|
||||||
+ " recently archived and is still not available on the CDX server."
|
+ " recently archived and is still not available on the CDX server."
|
||||||
)
|
)
|
||||||
|
|
||||||
def after(
|
def after(
|
||||||
self,
|
self,
|
||||||
@@ -271,7 +271,7 @@ class WaybackMachineCDXServerAPI:
|
|||||||
+ "Either there are no archives after the given date,"
|
+ "Either there are no archives after the given date,"
|
||||||
+ " the URL may not have any archives, or the URL may have been"
|
+ " the URL may not have any archives, or the URL may have been"
|
||||||
+ " recently archived and is still not available on the CDX server."
|
+ " recently archived and is still not available on the CDX server."
|
||||||
)
|
)
|
||||||
|
|
||||||
def near(
|
def near(
|
||||||
self,
|
self,
|
||||||
|
|||||||
Reference in New Issue
Block a user