naming convention

This commit is contained in:
aceisace
2022-10-02 00:49:27 +02:00
parent 8b0f21a649
commit 4d1ed107b7
29 changed files with 30 additions and 35 deletions

18
inkycal/tests/helper_functions.py Normal file → Executable file
View File

@@ -10,15 +10,15 @@ import sys
from os.path import exists
from inkycal.modules.inky_image import Inkyimage
preview = Inkyimage.preview
preview = Inkyimage.preview
merge = Inkyimage.merge
def get_environment():
# Check if this is running on the Raspberry Pi
environment = None
envir_path = '/sys/firmware/devicetree/base/model'
if exists(envir_path):
with open(envir_path) as file:
if 'Raspberry' in file.read():
environment = 'Raspberry'
return environment
# Check if this is running on the Raspberry Pi
environment = None
envir_path = '/sys/firmware/devicetree/base/model'
if exists(envir_path):
with open(envir_path) as file:
if 'Raspberry' in file.read():
environment = 'Raspberry'
return environment

0
inkycal/tests/ical_parser_test.py Normal file → Executable file
View File

0
inkycal/tests/inkycal_agenda_test.py Normal file → Executable file
View File

0
inkycal/tests/inkycal_calendar_test.py Normal file → Executable file
View File

0
inkycal/tests/inkycal_feeds_test.py Normal file → Executable file
View File

0
inkycal/tests/inkycal_image_test.py Normal file → Executable file
View File

0
inkycal/tests/inkycal_jokes_test.py Normal file → Executable file
View File

1
inkycal/tests/inkycal_slideshow_test.py Normal file → Executable file
View File

@@ -33,7 +33,6 @@ for count, url in enumerate(im_urls):
test_path = "tmp"
tests = [
{
"name": "Slideshow",

0
inkycal/tests/inkycal_stocks_test.py Normal file → Executable file
View File

0
inkycal/tests/inkycal_weather_test.py Normal file → Executable file
View File

0
inkycal/tests/main_test.py Normal file → Executable file
View File