Skip to content

Commit

Permalink
remove singer logger, replace with tt logger
Browse files Browse the repository at this point in the history
  • Loading branch information
kspeer committed May 18, 2022
1 parent 860d704 commit a57e796
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 33 deletions.
5 changes: 1 addition & 4 deletions tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
import boto3
from boto3.dynamodb.types import TypeSerializer, TypeDeserializer

import singer

from tap_tester import connections
from tap_tester import menagerie
from tap_tester import runner
from tap_tester.logger import LOGGER

ALL_TABLE_NAMES_TO_CLEAR = frozenset({
'simple_table_1',
Expand All @@ -19,8 +18,6 @@
'com-stitchdata-test-dynamodb-integration-simple_table_1',
})

LOGGER = singer.get_logger()


class TestDynamoDBBase(unittest.TestCase):
_client = None
Expand Down
3 changes: 0 additions & 3 deletions tests/test_dynamodb_full_table_interruptible_sync.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import decimal
import singer

from boto3.dynamodb.types import TypeSerializer

Expand All @@ -9,8 +8,6 @@

from base import TestDynamoDBBase

LOGGER = singer.get_logger()


class DynamoDBFullTableInterruptible(TestDynamoDBBase):
def expected_table_config(self):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import singer

from boto3.dynamodb.types import TypeSerializer

from tap_tester import connections
from tap_tester import menagerie
from tap_tester import runner
from base import TestDynamoDBBase

LOGGER = singer.get_logger()


class DynamoDBFullTablePrimaryAndHashKeyReservedWords(TestDynamoDBBase):
def expected_table_config(self):
Expand Down
4 changes: 0 additions & 4 deletions tests/test_dynamodb_full_table_sync.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import decimal

import singer

from boto3.dynamodb.types import TypeSerializer

from tap_tester import connections
Expand All @@ -10,8 +8,6 @@

from base import TestDynamoDBBase

LOGGER = singer.get_logger()


class DynamoDBFullTable(TestDynamoDBBase):
def expected_table_config(self):
Expand Down
4 changes: 0 additions & 4 deletions tests/test_dynamodb_log_based.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import singer

from boto3.dynamodb.types import TypeSerializer

from tap_tester import connections
Expand All @@ -8,8 +6,6 @@

from base import TestDynamoDBBase

LOGGER = singer.get_logger()


class DynamoDBLogBased(TestDynamoDBBase):
def expected_table_config(self):
Expand Down
4 changes: 0 additions & 4 deletions tests/test_dynamodb_log_based_interruptible.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import singer

from boto3.dynamodb.types import TypeSerializer

from tap_tester import connections
Expand All @@ -8,8 +6,6 @@

from base import TestDynamoDBBase

LOGGER = singer.get_logger()


class DynamoDBLogBased(TestDynamoDBBase):
def expected_table_config(self):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import singer

from boto3.dynamodb.types import TypeSerializer

from tap_tester import connections
Expand All @@ -8,8 +6,6 @@

from base import TestDynamoDBBase

LOGGER = singer.get_logger()


class DynamoDBLogBasedPrimaryAndHashKeyReservedWords(TestDynamoDBBase):
def expected_table_config(self):
Expand Down
3 changes: 0 additions & 3 deletions tests/test_dynamodb_log_based_projections.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import decimal
import singer

from boto3.dynamodb.types import TypeSerializer

Expand All @@ -9,8 +8,6 @@

from base import TestDynamoDBBase

LOGGER = singer.get_logger()


class DynamoDBLogBasedProjections(TestDynamoDBBase):
def expected_table_config(self):
Expand Down
3 changes: 0 additions & 3 deletions tests/test_dynamodb_projections.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import decimal
import singer

from boto3.dynamodb.types import TypeSerializer

Expand All @@ -8,8 +7,6 @@
from tap_tester import runner
from base import TestDynamoDBBase

LOGGER = singer.get_logger()


class DynamoDBProjections(TestDynamoDBBase):
def expected_table_config(self):
Expand Down

0 comments on commit a57e796

Please sign in to comment.