コード例 #1
0
    def test_set_key_index_size(self, *, app, rocks, table):
        s = Store("rocksdb://", app, table, key_index_size=12341)

        assert s.key_index_size == 12341
コード例 #2
0
 def store(self, *, app, rocks, table):
     return Store("rocksdb://", app, table)
コード例 #3
0
 def test_no_rocksdb(self, *, app, table, no_rocks):
     with pytest.raises(ImproperlyConfigured):
         Store("rocksdb://", app, table)
コード例 #4
0
 def test_url_having_path(self, *, app, rocks, table):
     store = Store("rocksdb://foobar/", app, table)
     assert store.url == URL("rocksdb://foobar/")
コード例 #5
0
 def store(self, *, app, rocks, table):
     return Store('rocksdb://', app, table)