[chronojump/chronojump-importer: 50/66] Adds failing unit test: it has a defined user-jump.



commit ead63cbd98647184406f7b910786013b7f3d6d6b
Author: Carles Pina i Estany <carles pina cat>
Date:   Sun Sep 18 11:15:48 2016 +0100

    Adds failing unit test: it has a defined user-jump.

 .../chronojump_importer_test.py                    |    3 ++-
 .../tests/user-jump-destination.sqlite             |  Bin 0 -> 52224 bytes
 .../tests/user-jump-expected.sqlite                |  Bin 0 -> 52224 bytes
 .../tests/user-jump-source.sqlite                  |  Bin 0 -> 58368 bytes
 4 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/chronojump-importer/chronojump_importer_test.py 
b/src/chronojump-importer/chronojump_importer_test.py
index 37fd1ea..8da246e 100755
--- a/src/chronojump-importer/chronojump_importer_test.py
+++ b/src/chronojump-importer/chronojump_importer_test.py
@@ -23,7 +23,8 @@ class TestImporter(unittest.TestCase):
         {'base_filename': 'generic-{}-b.sqlite', 'session': 1},
         {'base_filename': 'generic-{}-c.sqlite', 'session': 1},
         {'base_filename': 'padu-{}.sqlite', 'session': 19},
-        {'base_filename': 'yoyo-{}.sqlite', 'session': 19}
+        {'base_filename': 'yoyo-{}.sqlite', 'session': 19},
+        {'base_filename': 'user-jump-{}.sqlite', 'session': 1}
     )
     def test_importerGeneric(self, data):
         base_filename = data['base_filename']
diff --git a/src/chronojump-importer/tests/user-jump-destination.sqlite 
b/src/chronojump-importer/tests/user-jump-destination.sqlite
new file mode 100644
index 0000000..aee6630
Binary files /dev/null and b/src/chronojump-importer/tests/user-jump-destination.sqlite differ
diff --git a/src/chronojump-importer/tests/user-jump-expected.sqlite 
b/src/chronojump-importer/tests/user-jump-expected.sqlite
new file mode 100644
index 0000000..aee6630
Binary files /dev/null and b/src/chronojump-importer/tests/user-jump-expected.sqlite differ
diff --git a/src/chronojump-importer/tests/user-jump-source.sqlite 
b/src/chronojump-importer/tests/user-jump-source.sqlite
new file mode 100644
index 0000000..c835975
Binary files /dev/null and b/src/chronojump-importer/tests/user-jump-source.sqlite differ


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]