Skip to content

Commit c92ce2a

Browse files
committed
Pytest fix
1 parent a6542b4 commit c92ce2a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/publish-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ jobs:
1313
uses: pypa/gh-action-pypi-publish@release/v1
1414
with:
1515
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
16-
repository_url: https://test.pypi.org/legacy/
16+
repository-url: https://test.pypi.org/legacy/

pytest.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[pytest]
2+
pythonpath = . src

src/google_flight_analysis/scrape.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import sys
1515
#sys.path.append('src/google_flight_analysis')
16-
from flight import *
16+
from google_flight_analysis.flight import *
1717

1818
__all__ = ['Scrape', '_Scrape', 'ScrapeObjects']
1919

0 commit comments

Comments
 (0)