🌐 AI搜索 & 代理 主页
Skip to content

Commit 5da23cd

Browse files
author
Adam Grandquist
committed
Test dump/restore loop.
1 parent aa7f070 commit 5da23cd

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

tests/integration/test_dump.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from subprocess import run
2+
3+
import pytest
4+
5+
from tests.helpers import IntegrationTestCaseBase
6+
7+
8+
@pytest.mark.integration
9+
class TestDump(IntegrationTestCaseBase):
10+
def test_dump(self):
11+
run(["rethinkdb-dump", "-c", self.rethinkdb_host])

tests/integration/test_restore.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from subprocess import run
2+
3+
import pytest
4+
5+
from tests.helpers import IntegrationTestCaseBase
6+
7+
8+
@pytest.mark.integration
9+
class TestRestore(IntegrationTestCaseBase):
10+
def test_restore(self):
11+
run(["rethinkdb-restore", "-c", self.rethinkdb_host])

0 commit comments

Comments
 (0)