formatting

This commit is contained in:
ArztKlein
2022-07-14 16:42:22 +12:00
parent 8cf45af49e
commit d51ae12f36
2 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -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,