Skip to content

Commit 46598b4

Browse files
Test files and classes were renamed (#233)
CI for AltLinux (10, 11) tests all the "local" cases.
1 parent 1e4a1e3 commit 46598b4

7 files changed

+7
-7
lines changed

Dockerfile--altlinux_10.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ''; \
115115
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys; \
116116
chmod 600 ~/.ssh/authorized_keys; \
117117
ls -la ~/.ssh/; \
118-
TEST_FILTER=\"TestgresTests or (TestTestgresCommon and (not remote_ops))\" bash ./run_tests.sh;"
118+
TEST_FILTER=\"TestTestgresLocal or TestOsOpsLocal or local_ops\" bash ./run_tests.sh;"

Dockerfile--altlinux_11.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ ssh-keygen -t rsa -f ~/.ssh/id_rsa -q -N ''; \
115115
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys; \
116116
chmod 600 ~/.ssh/authorized_keys; \
117117
ls -la ~/.ssh/; \
118-
TEST_FILTER=\"TestgresTests or (TestTestgresCommon and (not remote_ops))\" bash ./run_tests.sh;"
118+
TEST_FILTER=\"TestTestgresLocal or TestOsOpsLocal or local_ops\" bash ./run_tests.sh;"

run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
set -eux
66

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

1111
# fail early

tests/test_local.py renamed to tests/test_os_ops_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import re
99

1010

11-
class TestLocalOperations:
11+
class TestOsOpsLocal:
1212
@pytest.fixture
1313
def os_ops(self):
1414
return OsOpsDescrs.sm_local_os_ops

tests/test_remote.py renamed to tests/test_os_ops_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pytest
1010

1111

12-
class TestRemoteOperations:
12+
class TestOsOpsRemote:
1313
@pytest.fixture
1414
def os_ops(self):
1515
return OsOpsDescrs.sm_remote_os_ops

tests/test_simple.py renamed to tests/test_testgres_local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def rm_carriage_returns(out):
7474
return out
7575

7676

77-
class TestgresTests:
77+
class TestTestgresLocal:
7878
def test_node_repr(self):
7979
with get_new_node() as node:
8080
pattern = r"PostgresNode\(name='.+', port=.+, base_dir='.+'\)"

tests/test_simple_remote.py renamed to tests/test_testgres_remote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def good_properties(f):
4747
return True
4848

4949

50-
class TestgresRemoteTests:
50+
class TestTestgresRemote:
5151
sm_os_ops = OsOpsDescrs.sm_remote_os_ops
5252

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy