diff options
author | Chayim <chayim@users.noreply.github.com> | 2021-09-01 11:44:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 11:44:59 +0300 |
commit | 9f64c56e0f6994df0609a803e613a055ee57a7cd (patch) | |
tree | 4df1c0274f58da34dc0f5f9dbc5af3a7146ddd62 /tests/test_commands.py | |
parent | 18c1cc7482d2177809d381e91721f119117849ff (diff) | |
download | redis-py-9f64c56e0f6994df0609a803e613a055ee57a7cd.tar.gz |
bgsave schedule support (#1555)
bgsave tests
Part of #1546
Diffstat (limited to 'tests/test_commands.py')
-rw-r--r-- | tests/test_commands.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py index 5a5e8f3..1a34712 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -547,6 +547,11 @@ class TestRedisCommands: assert isinstance(t[0], int) assert isinstance(t[1], int) + def test_bgsave(self, r): + assert r.bgsave() + time.sleep(0.3) + assert r.bgsave(True) + # BASIC KEY COMMANDS def test_append(self, r): assert r.append('a', 'a1') == 2 |