last lint
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
from scripts.utils.parse_settings import config_to_settings
|
from scripts.utils.parse_settings import config_to_settings
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
|
|
||||||
def test():
|
def test():
|
||||||
text = """LATITUDE=32.0
|
text = """LATITUDE=32.0
|
||||||
LONGITUDE=-73.0
|
LONGITUDE=-73.0
|
||||||
@@ -41,4 +42,3 @@ IDFILE=/home/pi/BirdNET-Pi/IdentifiedSoFar.txt"""
|
|||||||
assert(settings["APPRISE_NOTIFICATION_TITLE"] == "Bird!")
|
assert(settings["APPRISE_NOTIFICATION_TITLE"] == "Bird!")
|
||||||
assert(settings["FULL_DISK"] == "purge")
|
assert(settings["FULL_DISK"] == "purge")
|
||||||
assert(settings["OVERLAP"] == "0.0") # Yes, it's a string at this point.
|
assert(settings["OVERLAP"] == "0.0") # Yes, it's a string at this point.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user