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 39a92d0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 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,11 @@
"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):
yield from create_secrets_file()

0 comments on commit 39a92d0

Please sign in to comment.