...
 
Commits (3)
pysword (0.2.6-1) UNRELEASED; urgency=medium
pysword (0.2.6-1) unstable; urgency=medium
* Initial release. (Closes: #821461)
-- Bastian Germann <bastiangermann@fishpost.de> Tue, 14 May 2019 00:05:52 +0200
-- Bastian Germann <bastiangermann@fishpost.de> Wed, 15 May 2019 21:00:00 +0200
......@@ -53,7 +53,7 @@ License: BSD-3-Clause
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Files: tests/resources/d
Files: tests/resources/download_bibles.py
Copyright: 2008-2019 Various developers:
Kenneth Arnold, Joshua Gross, Tomas Groth, Ryan Hiebert, Philip Ridout, Matthew Wardrop
License: GPL-2
......
This diff is collapsed.
add-text-files-from-download-bibles-py.patch
skip-aranav-tests.patch
From 18a2c9ae7afcbe15535edca9738817b2399b9d9f Mon Sep 17 00:00:00 2001
From: Bastian Germann <bastiangermann@fishpost.de>
Date: Wed, 15 May 2019 20:41:02 +0200
Subject: [PATCH] Skip AraNAV tests
The AraNAV sword module cannot be redistributed, so skip its tests.
---
tests/test_files.py | 2 +-
tests/test_swordModules.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/test_files.py b/tests/test_files.py
index 6a76480..0026566 100644
--- a/tests/test_files.py
+++ b/tests/test_files.py
@@ -107,7 +107,7 @@ class TestModules(TestCase):
assert len(found_modules) == 1
assert output == u'And the man called his wife’s name Eve; because she was the mother of all living.'
- def test_load_aranav_zip(self):
+ def load_aranav_zip(self):
"""
Test that the AraNAV.zip file is loaded correctly.
"""
diff --git a/tests/test_swordModules.py b/tests/test_swordModules.py
index d2d2212..15ad55f 100644
--- a/tests/test_swordModules.py
+++ b/tests/test_swordModules.py
@@ -36,7 +36,7 @@ TEST_RESOURCE_FOLDER = os.path.join(os.path.dirname(os.path.realpath(__file__)),
class TestSwordModules(TestCase):
- def test_parse_modules_folder(self):
+ def parse_modules_folder(self):
"""
Test that conf file from a folder can be parsed.
"""
--
2.20.1
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
export PYBUILD_NAME=pysword
%:
......
tests/resources/ASV.zip
tests/resources/FinPR.zip
tests/resources/bsv.zip
tests/resources/chipinyin.zip
tests/resources/modules/texts/rawtext/chipinyin/nt.vss
tests/resources/modules/texts/rawtext/chipinyin/ot.vss
tests/resources/modules/texts/ztext/asv/nt.bzs
tests/resources/modules/texts/ztext/asv/nt.bzv
tests/resources/modules/texts/ztext/asv/nt.bzz
tests/resources/modules/texts/ztext/asv/ot.bzs
tests/resources/modules/texts/ztext/asv/ot.bzv
tests/resources/modules/texts/ztext/asv/ot.bzz
tests/resources/modules/texts/ztext/bsv/nt.bzs
tests/resources/modules/texts/ztext/bsv/nt.bzv
tests/resources/modules/texts/ztext/bsv/nt.bzz
tests/resources/modules/texts/ztext/bsv/ot.bzs
tests/resources/modules/texts/ztext/bsv/ot.bzv
tests/resources/modules/texts/ztext/bsv/ot.bzz
tests/resources/modules/texts/ztext/finpr/nt.bzs
tests/resources/modules/texts/ztext/finpr/nt.bzv
tests/resources/modules/texts/ztext/finpr/nt.bzz
tests/resources/modules/texts/ztext/finpr/ot.bzs
tests/resources/modules/texts/ztext/finpr/ot.bzv
tests/resources/modules/texts/ztext/finpr/ot.bzz