Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Proposal to fix #154 (v2) #161

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
merged 13 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
raise_error.py is moved into testgres/operations from testgres/helpers
Let's store our things on one place.

We use RaiseError only in testgres/operations structures currently.
  • Loading branch information
dmitry-lipetsk committed Dec 10, 2024
commit 3cc19d2afdd390699ec234f83496cece996f2fe0
2 changes: 1 addition & 1 deletion testgres/operations/local_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

from ..exceptions import ExecUtilException
from .os_ops import ConnectionParams, OsOperations, pglib, get_default_encoding
from .raise_error import RaiseError
from .helpers import Helpers
from ..helpers.raise_error import RaiseError

try:
from shutil import which as find_executable
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion testgres/operations/remote_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
raise ImportError("You must have psycopg2 or pg8000 modules installed")

from ..exceptions import ExecUtilException
from ..helpers.raise_error import RaiseError
from .os_ops import OsOperations, ConnectionParams, get_default_encoding
from .raise_error import RaiseError
from .helpers import Helpers

error_markers = [b'error', b'Permission denied', b'fatal', b'No such file or directory']
Expand Down