Skip to content

Commit

Permalink
still battling client secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Payne committed Jan 26, 2023
1 parent ba35f4d commit 031ff26
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from datetime import datetime, timedelta, timezone

import pytest
from singer_sdk.testing import get_tap_test_class

from tap_google_analytics.tap import TapGoogleAnalytics
Expand Down Expand Up @@ -33,6 +34,12 @@
"key_file_location": secrets_file_path,
}

TestTapGoogleAnalyticsService = get_tap_test_class(
TapGoogleAnalyticsService = get_tap_test_class(
tap_class=TapGoogleAnalytics, config=SAMPLE_CONFIG_SERVICE
)

class TestTapGoogleAnalyticsService(TapGoogleAnalyticsService):
@pytest.fixture(scope="class")
def resource(self):
with create_secrets_file() as secrets_file_path:
yield secrets_file_path

0 comments on commit 031ff26

Please sign in to comment.