summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_generate_reference.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/tests/test_generate_reference.py b/tests/test_generate_reference.py
index 4207db2..6037d73 100755
--- a/tests/test_generate_reference.py
+++ b/tests/test_generate_reference.py
@@ -30,8 +30,8 @@ class TestNotesParsing(unittest.TestCase): # IGNORE:C0111
raise
def test_simple_reference(self):
- instr = 'Ž 93,2'
- exptuple = (('Ž', 93, 2),)
+ instr = 'Ž 93,28'
+ exptuple = (('Ž', 93, 28),)
self.do_test_expected(instr, exptuple)
def test_prvni_empty(self):
@@ -166,17 +166,15 @@ class TestNotesParsing(unittest.TestCase): # IGNORE:C0111
('Dt', 1, 10), ('Na', 3, 16))
self.do_test_expected(instr, exptuple)
- @unittest.skip('Not implented yet')
def test_p_suffix(self):
# TODO what does 'p' suffix means?
instr = 'v. 1p'
- exptuple = (('', 0, 1))
+ exptuple = (('', 0, 1),)
self.do_test_expected(instr, exptuple)
- @unittest.skip('Not implented yet')
def test_unknown_28(self):
- instr = 'v. 28; 2,3; 5,2; 12,2; [v h. je slsoḇ–r–ḵ vždyspojeno'
- exptuple = ()
+ instr = 'v. 28; 2,3; 5,2; 12,2; [v h. je slsoḇ–r–ḵ vždy spojeno'
+ exptuple = (('', 2, 3), ('', 5, 2), ('', 12, 2), ('', 0, 28))
self.do_test_expected(instr, exptuple)
@unittest.skip('Not implented yet')