File tree 3 files changed +9
-2
lines changed
tests/integration/fixtures
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
## Changelog
2
2
3
- ### 1.49
3
+ ### 1.49 (2017-08-02)
4
+ * Feature: #392 MetadataStore
4
5
* Bugfix: #384 sentinels missing time data on chunk start/ends in ChunkStore
5
6
* Bugfix: #382 Remove dependency on cython being pre-installed
6
7
* Bugfix: #343 Renaming libraries/collections within a namespace/database
Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ def read(self, symbol):
91
91
res = self .find_one ({'symbol' : symbol }, sort = [('start_time' , pymongo .DESCENDING )])
92
92
return res ['metadata' ] if res is not None else None
93
93
94
-
95
94
def write_history (self , collection ):
96
95
"""
97
96
Manually overwrite entire metadata history for symbols in `collection`
Original file line number Diff line number Diff line change 1
1
from arctic .arctic import Arctic
2
2
from arctic .store .version_store import VersionStore
3
+ from arctic .store .metadata_store import MetadataStore
3
4
4
5
5
6
def test_arctic (arctic ):
@@ -8,3 +9,9 @@ def test_arctic(arctic):
8
9
9
10
def test_library (library ):
10
11
assert isinstance (library , VersionStore )
12
+ assert library ._arctic_lib .get_library_type () == 'VersionStore'
13
+
14
+
15
+ def test_ms_lib (ms_lib ):
16
+ assert isinstance (ms_lib , MetadataStore )
17
+ assert ms_lib ._arctic_lib .get_library_type () == 'MetadataStore'
You can’t perform that action at this time.
0 commit comments