Skip to content

Test files and classes were renamed #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile--altlinux_10.tmpl
Original file line number Diff line number Diff line change
@@ -115,4 +115,4 @@ ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ''; \
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys; \
chmod 600 ~/.ssh/authorized_keys; \
ls -la ~/.ssh/; \
TEST_FILTER=\"TestgresTests or (TestTestgresCommon and (not remote_ops))\" bash ./run_tests.sh;"
TEST_FILTER=\"TestTestgresLocal or TestOsOpsLocal or local_ops\" bash ./run_tests.sh;"
2 changes: 1 addition & 1 deletion Dockerfile--altlinux_11.tmpl
Original file line number Diff line number Diff line change
@@ -115,4 +115,4 @@ ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ''; \
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys; \
chmod 600 ~/.ssh/authorized_keys; \
ls -la ~/.ssh/; \
TEST_FILTER=\"TestgresTests or (TestTestgresCommon and (not remote_ops))\" bash ./run_tests.sh;"
TEST_FILTER=\"TestTestgresLocal or TestOsOpsLocal or local_ops\" bash ./run_tests.sh;"
2 changes: 1 addition & 1 deletion run_tests.sh
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
set -eux

if [ -z ${TEST_FILTER+x} ]; \
then export TEST_FILTER="TestgresTests or (TestTestgresCommon and (not remote_ops))"; \
then export TEST_FILTER="TestTestgresLocal or (TestTestgresCommon and (not remote_ops))"; \
fi

# fail early
2 changes: 1 addition & 1 deletion tests/test_local.py → tests/test_os_ops_local.py
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
import re


class TestLocalOperations:
class TestOsOpsLocal:
@pytest.fixture
def os_ops(self):
return OsOpsDescrs.sm_local_os_ops
2 changes: 1 addition & 1 deletion tests/test_remote.py → tests/test_os_ops_remote.py
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
import pytest


class TestRemoteOperations:
class TestOsOpsRemote:
@pytest.fixture
def os_ops(self):
return OsOpsDescrs.sm_remote_os_ops
2 changes: 1 addition & 1 deletion tests/test_simple.py → tests/test_testgres_local.py
Original file line number Diff line number Diff line change
@@ -74,7 +74,7 @@ def rm_carriage_returns(out):
return out


class TestgresTests:
class TestTestgresLocal:
def test_node_repr(self):
with get_new_node() as node:
pattern = r"PostgresNode\(name='.+', port=.+, base_dir='.+'\)"
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ def good_properties(f):
return True


class TestgresRemoteTests:
class TestTestgresRemote:
sm_os_ops = OsOpsDescrs.sm_remote_os_ops

@pytest.fixture(autouse=True, scope="class")