mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
1b5626e3a1
commit
feb61efd6a
20
tests.py
20
tests.py
|
@ -3951,9 +3951,8 @@ def _testSpoofGeolocation() -> None:
|
||||||
hourStr = str(hour)
|
hourStr = str(hour)
|
||||||
if hour < 10:
|
if hour < 10:
|
||||||
hourStr = '0' + hourStr
|
hourStr = '0' + hourStr
|
||||||
currTime = datetime.datetime.strptime("2021-05-" + str(dayNumber) +
|
dateTimeStr = "2021-05-" + str(dayNumber) + " " + hourStr + ":14"
|
||||||
" " + hourStr + ":14",
|
currTime = datetime.datetime.strptime(dateTimeStr, "%Y-%m-%d %H:%M")
|
||||||
"%Y-%m-%d %H:%M")
|
|
||||||
coords = spoofGeolocation('', 'new york, usa', currTime,
|
coords = spoofGeolocation('', 'new york, usa', currTime,
|
||||||
decoySeed, citiesList, nogoList)
|
decoySeed, citiesList, nogoList)
|
||||||
longitude = coords[1]
|
longitude = coords[1]
|
||||||
|
@ -3989,9 +3988,8 @@ def _testSpoofGeolocation() -> None:
|
||||||
hourStr = str(hour)
|
hourStr = str(hour)
|
||||||
if hour < 10:
|
if hour < 10:
|
||||||
hourStr = '0' + hourStr
|
hourStr = '0' + hourStr
|
||||||
currTime = datetime.datetime.strptime("2021-05-" + str(dayNumber) +
|
dateTimeStr = "2021-05-" + str(dayNumber) + " " + hourStr + ":14"
|
||||||
" " + hourStr + ":14",
|
currTime = datetime.datetime.strptime(dateTimeStr, "%Y-%m-%d %H:%M")
|
||||||
"%Y-%m-%d %H:%M")
|
|
||||||
coords = spoofGeolocation('', 'london, england', currTime,
|
coords = spoofGeolocation('', 'london, england', currTime,
|
||||||
decoySeed, citiesList, nogoList)
|
decoySeed, citiesList, nogoList)
|
||||||
longitude = coords[1]
|
longitude = coords[1]
|
||||||
|
@ -4040,9 +4038,8 @@ def _testSpoofGeolocation() -> None:
|
||||||
hourStr = str(hour)
|
hourStr = str(hour)
|
||||||
if hour < 10:
|
if hour < 10:
|
||||||
hourStr = '0' + hourStr
|
hourStr = '0' + hourStr
|
||||||
currTime = datetime.datetime.strptime("2021-05-" + str(dayNumber) +
|
dateTimeStr = "2021-05-" + str(dayNumber) + " " + hourStr + ":14"
|
||||||
" " + hourStr + ":14",
|
currTime = datetime.datetime.strptime(dateTimeStr, "%Y-%m-%d %H:%M")
|
||||||
"%Y-%m-%d %H:%M")
|
|
||||||
coords = spoofGeolocation('', 'SAN FRANCISCO, USA', currTime,
|
coords = spoofGeolocation('', 'SAN FRANCISCO, USA', currTime,
|
||||||
decoySeed, citiesList, nogoList)
|
decoySeed, citiesList, nogoList)
|
||||||
longitude = coords[1]
|
longitude = coords[1]
|
||||||
|
@ -4095,9 +4092,8 @@ def _testSpoofGeolocation() -> None:
|
||||||
hourStr = str(hour)
|
hourStr = str(hour)
|
||||||
if hour < 10:
|
if hour < 10:
|
||||||
hourStr = '0' + hourStr
|
hourStr = '0' + hourStr
|
||||||
currTime = datetime.datetime.strptime("2021-05-" + str(dayNumber) +
|
dateTimeStr = "2021-05-" + str(dayNumber) + " " + hourStr + ":14"
|
||||||
" " + hourStr + ":14",
|
currTime = datetime.datetime.strptime(dateTimeStr, "%Y-%m-%d %H:%M")
|
||||||
"%Y-%m-%d %H:%M")
|
|
||||||
coords = spoofGeolocation('', 'SEATTLE, USA', currTime,
|
coords = spoofGeolocation('', 'SEATTLE, USA', currTime,
|
||||||
decoySeed, citiesList, nogoList)
|
decoySeed, citiesList, nogoList)
|
||||||
longitude = coords[1]
|
longitude = coords[1]
|
||||||
|
|
Loading…
Reference in New Issue