Skip to content

Commit 42f0c07

Browse files
committed
Add streaming tests and migrate Redis/Snowflake loaders
Adds generalized streaming test infrastructure and migrates Redis and Snowflake loader tests to use the shared base classes.
1 parent ec27e15 commit 42f0c07

File tree

5 files changed

+1033
-0
lines changed

5 files changed

+1033
-0
lines changed

tests/integration/loaders/backends/test_postgresql.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
from src.amp.loaders.implementations.postgresql_loader import PostgreSQLLoader
1515
from tests.integration.loaders.conftest import LoaderTestConfig
1616
from tests.integration.loaders.test_base_loader import BaseLoaderTests
17+
from tests.integration.loaders.test_base_streaming import BaseStreamingTests
1718
except ImportError:
1819
pytest.skip('amp modules not available', allow_module_level=True)
1920

@@ -109,6 +110,13 @@ class TestPostgreSQLCore(BaseLoaderTests):
109110
config = PostgreSQLTestConfig()
110111

111112

113+
@pytest.mark.postgresql
114+
class TestPostgreSQLStreaming(BaseStreamingTests):
115+
"""PostgreSQL streaming tests (inherited from base)"""
116+
117+
config = PostgreSQLTestConfig()
118+
119+
112120
@pytest.fixture
113121
def cleanup_tables(postgresql_test_config):
114122
"""Cleanup test tables after tests"""

0 commit comments

Comments
 (0)