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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Show file tree
Hide file tree
Changes fromall 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
Test files and classes were renamed
CI for AltLinux (10, 11) tests all the "local" cases.
  • Loading branch information
@dmitry-lipetsk
dmitry-lipetsk committedApr 2, 2025
commit0c68053fbd4940dae4c84a5339e58678d194089b
2 changes: 1 addition & 1 deletionDockerfile--altlinux_10.tmpl
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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 orTestOsOpsLocal or local_ops\" bash ./run_tests.sh;"
2 changes: 1 addition & 1 deletionDockerfile--altlinux_11.tmpl
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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 orTestOsOpsLocal or local_ops\" bash ./run_tests.sh;"
2 changes: 1 addition & 1 deletionrun_tests.sh
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -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
Expand Down
2 changes: 1 addition & 1 deletiontests/test_local.py → tests/test_os_ops_local.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -8,7 +8,7 @@
import re


classTestLocalOperations:
classTestOsOpsLocal:
@pytest.fixture
def os_ops(self):
return OsOpsDescrs.sm_local_os_ops
Expand Down
2 changes: 1 addition & 1 deletiontests/test_remote.py → tests/test_os_ops_remote.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,7 +9,7 @@
import pytest


classTestRemoteOperations:
classTestOsOpsRemote:
@pytest.fixture
def os_ops(self):
return OsOpsDescrs.sm_remote_os_ops
Expand Down
2 changes: 1 addition & 1 deletiontests/test_simple.py → tests/test_testgres_local.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -74,7 +74,7 @@ def rm_carriage_returns(out):
return out


classTestgresTests:
classTestTestgresLocal:
def test_node_repr(self):
with get_new_node() as node:
pattern = r"PostgresNode\(name='.+', port=.+, base_dir='.+'\)"
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,7 +47,7 @@ def good_properties(f):
return True


classTestgresRemoteTests:
classTestTestgresRemote:
sm_os_ops = OsOpsDescrs.sm_remote_os_ops

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

[8]ページ先頭

©2009-2025 Movatter.jp