@pytest.fixture
def ordered_po(test_fs, tp0):
 store = StoreDBFactory(name='ordered.po', translation_project=tp0, parent=tp0.directory)
 with test_fs.open('data/po/ordered.po') as src:
  store.update(store.deserialize(src.read()))
 return store

@ pytest . fixture def ordered_po ( test_fs , tp0 ) : store = StoreDBFactory ( name = 'ordered.po' , translation_project = tp0 , parent = tp0 . directory ) with test_fs . open ( 'data/po/ordered.po' ) as src : store . update ( store . deserialize ( src . read ( ) ) ) return store
create a store with ordered units .