repo.or.cz
/
translate_toolkit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix git support for v1.5.3 (or higher) by setting "--work-tree"
[translate_toolkit.git]
/
storage
/
test_ts.py
blob
631062b5c6f95ef1750956a8a983cfc2f482c986
1
#!/usr/bin/env python
2
3
from
translate
.
storage
import
ts
4
5
class
TestTS
:
6
def
test_construct
(
self
):
7
tsfile
=
ts
.
QtTsParser
()
8
tsfile
.
addtranslation
(
"ryan"
,
"Bread"
,
"Brood"
,
"Wit"
,
createifmissing
=
True
)
9