Skip to content

Commit

Permalink
skip pvoutput.org tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Sep 24, 2024
1 parent c6d45fd commit 8bdf3be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/intergration/test_app.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import pytest
from click.testing import CliRunner
from pvsite_datamodel.sqlmodels import GenerationSQL, SiteSQL

from pvconsumer.app import app, pull_data_and_save


@pytest.skip("This test uses pvoutput.org which we not longer use")
def test_pull_data(db_session, sites):
pull_data_and_save(pv_systems=sites, session=db_session, provider="pvoutput.org")

Expand All @@ -18,6 +20,7 @@ def test_pull_data_solar_sheffield(db_session, sites):
assert len(pv_yields) > 0


@pytest.skip("This test uses pvoutput.org which we not longer use")
def test_app(db_connection, filename, sites):
runner = CliRunner()
response = runner.invoke(
Expand Down
2 changes: 2 additions & 0 deletions tests/intergration/test_pv_systems_integration.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import pytest
from pvconsumer.pv_systems import get_pv_systems


@pytest.skip("This test uses pvoutput.org which we not longer use")
def test_get_pv_systems(db_session, filename):
pv_systems = get_pv_systems(session=db_session, filename=filename, provider="pvoutput.org")

Expand Down

0 comments on commit 8bdf3be

Please sign in to comment.