@pytest.fixture
def numbered_po(test_fs, project0):
 tp = TranslationProjectFactory(project=project0, language=LanguageDBFactory())
 store = StoreDBFactory(name='numbered.po', translation_project=tp, parent=tp.directory)
 with test_fs.open('data/po/1234.po') as src:
  store.update(store.deserialize(src.read()))
 return store

@ pytest . fixture def numbered_po ( test_fs , project0 ) : tp = TranslationProjectFactory ( project = project0 , language = LanguageDBFactory ( ) ) store = StoreDBFactory ( name = 'numbered.po' , translation_project = tp , parent = tp . directory ) with test_fs . open ( 'data/po/1234.po' ) as src : store . update ( store . deserialize ( src . read ( ) ) ) return store
create a store with numbered units .