diff --git a/tests/conftest.py b/tests/conftest.py index 9b2afe4a..e2df9001 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,6 +2,10 @@ collect_ignore = [] if sys.version_info < (3, 4): - collect_ignore += ["integration/test_asyncio.py", "integration/test_asyncio_coroutine.py"] -elif sys.version_info < (3, 6): - collect_ignore.append("integration/test_asyncio.py") \ No newline at end of file + collect_ignore.extend([ + "integration/test_asyncio_coroutine.py", + "integration/test_dump.py", + "integration/test_restore.py", + ]) +if sys.version_info < (3, 6): + collect_ignore.append("integration/test_asyncio.py") diff --git a/tests/integration/test_dump.py b/tests/integration/test_dump.py new file mode 100644 index 00000000..69e0f374 --- /dev/null +++ b/tests/integration/test_dump.py @@ -0,0 +1,12 @@ +from subprocess import run + +import pytest + +from tests.helpers import IntegrationTestCaseBase + + +@pytest.mark.integration +class TestDump(IntegrationTestCaseBase): + def test_dump(self): + status = run(["rethinkdb-dump", "-c", self.rethinkdb_host]) + assert status.returncode == 0, status.stderr diff --git a/tests/integration/test_restore.py b/tests/integration/test_restore.py new file mode 100644 index 00000000..af9b170a --- /dev/null +++ b/tests/integration/test_restore.py @@ -0,0 +1,12 @@ +from subprocess import run + +import pytest + +from tests.helpers import IntegrationTestCaseBase + + +@pytest.mark.integration +class TestRestore(IntegrationTestCaseBase): + def test_restore(self): + status = run(["rethinkdb-restore", "-c", self.rethinkdb_host]) + assert status.returncode == 0, status.stderr 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