Deuchnord
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with
7 additions and
6 deletions
-
.github/workflows/tests.yml
-
Makefile
-
tests/test_dates.py
-
tests/test_general.py
-
tests/test_output.py
-
tests/test_position.py
-
tests/test_timezone.py
-
tests/test_utils.py
|
|
@@ -19,6 +19,7 @@ jobs: |
|
|
|
os: |
|
|
|
- ubuntu-latest |
|
|
|
- macos-latest |
|
|
|
- windows-latest |
|
|
|
python-version: |
|
|
|
- '3.8' |
|
|
|
- '3.9' |
|
|
|
|
|
@@ -3,7 +3,7 @@ black: |
|
|
|
|
|
|
|
.PHONY: tests |
|
|
|
tests: |
|
|
|
LANG=C python3 -m poetry run pytest tests/*.py |
|
|
|
python3 -m poetry run pytest tests/ |
|
|
|
|
|
|
|
.PHONY: build |
|
|
|
build: |
|
|
|
|
|
@@ -1,6 +1,6 @@ |
|
|
|
#!/usr/bin/env python3 |
|
|
|
|
|
|
|
from .utils import execute, KOSMORRO |
|
|
|
from .test_utils import execute, KOSMORRO |
|
|
|
|
|
|
|
|
|
|
|
def test_with_date(): |
|
|
@@ -1,7 +1,7 @@ |
|
|
|
#!/usr/bin/env python3 |
|
|
|
|
|
|
|
from sys import version_info as python_version |
|
|
|
from .utils import ( |
|
|
|
from .test_utils import ( |
|
|
|
execute, |
|
|
|
KOSMORRO, |
|
|
|
CURRENT_MOON_PHASE_PATTERN, |
|
|
@@ -1,6 +1,6 @@ |
|
|
|
#!/usr/bin/env python3 |
|
|
|
|
|
|
|
from .utils import ( |
|
|
|
from .test_utils import ( |
|
|
|
execute, |
|
|
|
KOSMORRO, |
|
|
|
) |
|
|
@@ -1,6 +1,6 @@ |
|
|
|
#!/usr/bin/env python3 |
|
|
|
|
|
|
|
from .utils import ( |
|
|
|
from .test_utils import ( |
|
|
|
execute, |
|
|
|
KOSMORRO, |
|
|
|
) |
|
|
@@ -1,6 +1,6 @@ |
|
|
|
#!/usr/bin/env python3 |
|
|
|
|
|
|
|
from .utils import ( |
|
|
|
from .test_utils import ( |
|
|
|
execute, |
|
|
|
KOSMORRO, |
|
|
|
) |