Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit46598b4

Browse files
Test files and classes were renamed (#233)
CI for AltLinux (10, 11) tests all the "local" cases.
1 parent1e4a1e3 commit46598b4

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 orTestOsOpsLocal 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 orTestOsOpsLocal 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-
thenexport TEST_FILTER="TestgresTests or (TestTestgresCommon and (not remote_ops))"; \
8+
thenexport TEST_FILTER="TestTestgresLocal or (TestTestgresCommon and (not remote_ops))"; \
99
fi
1010

1111
# fail early

‎tests/test_local.pyrenamed 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
importre
99

1010

11-
classTestLocalOperations:
11+
classTestOsOpsLocal:
1212
@pytest.fixture
1313
defos_ops(self):
1414
returnOsOpsDescrs.sm_local_os_ops

‎tests/test_remote.pyrenamed 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
importpytest
1010

1111

12-
classTestRemoteOperations:
12+
classTestOsOpsRemote:
1313
@pytest.fixture
1414
defos_ops(self):
1515
returnOsOpsDescrs.sm_remote_os_ops

‎tests/test_simple.pyrenamed 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
returnout
7575

7676

77-
classTestgresTests:
77+
classTestTestgresLocal:
7878
deftest_node_repr(self):
7979
withget_new_node()asnode:
8080
pattern=r"PostgresNode\(name='.+', port=.+, base_dir='.+'\)"

‎tests/test_simple_remote.pyrenamed 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
returnTrue
4848

4949

50-
classTestgresRemoteTests:
50+
classTestTestgresRemote:
5151
sm_os_ops=OsOpsDescrs.sm_remote_os_ops
5252

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp