From cf2195e3838f30537ef93ad4bc0b1374c8e35453 Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Tue, 9 Nov 2021 13:27:40 -0500 Subject: [PATCH] move tests --- {rocksdb/tests => tests}/__init__.py | 0 {rocksdb/tests => tests}/test_db.py | 1 - {rocksdb/tests => tests}/test_memtable.py | 1 - {rocksdb/tests => tests}/test_options.py | 0 4 files changed, 2 deletions(-) rename {rocksdb/tests => tests}/__init__.py (100%) rename {rocksdb/tests => tests}/test_db.py (99%) rename {rocksdb/tests => tests}/test_memtable.py (98%) rename {rocksdb/tests => tests}/test_options.py (100%) diff --git a/rocksdb/tests/__init__.py b/tests/__init__.py similarity index 100% rename from rocksdb/tests/__init__.py rename to tests/__init__.py diff --git a/rocksdb/tests/test_db.py b/tests/test_db.py similarity index 99% rename from rocksdb/tests/test_db.py rename to tests/test_db.py index c3380ea..c0adcd5 100644 --- a/rocksdb/tests/test_db.py +++ b/tests/test_db.py @@ -69,7 +69,6 @@ class TestDB(TestHelper): secondary.try_catch_up_with_primary() self.assertEqual(b"b", secondary.get(b"a")) - def test_multi_get(self): self.db.put(b"a", b"1") self.db.put(b"b", b"2") diff --git a/rocksdb/tests/test_memtable.py b/tests/test_memtable.py similarity index 98% rename from rocksdb/tests/test_memtable.py rename to tests/test_memtable.py index aef12bf..54d00bc 100644 --- a/rocksdb/tests/test_memtable.py +++ b/tests/test_memtable.py @@ -1,6 +1,5 @@ # content of test_sample.py import rocksdb -import pytest import shutil import os import tempfile diff --git a/rocksdb/tests/test_options.py b/tests/test_options.py similarity index 100% rename from rocksdb/tests/test_options.py rename to tests/test_options.py