Codebase list python-pauvre / 31185cd
patch for build test failing to start The test script assumes that the pauvre command is available in the path of the tester, but at the build stage of the packaging, this is not available yet. Etienne Mollier 3 years ago
2 changed file(s) with 26 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
00 2to3.patch
11 typo-redwood.patch
2 test-local-pauvre.patch
0 Description: Use local "pauvre" for build testing
1 The current testing in place embeds a shell script which makes the assumption
2 that the command "pauvre" is available in the path of the tester. It would
3 seem better to either carry out this test later in the package construction
4 steps, or make sure that this is the working copy of pauvre_main.py which is
5 being tested. This patch applies the second approach, to allow going a step
6 further with build testing.
7 Author: Étienne Mollier <etienne.mollier@mailoo.org>
8 Forwarded: no
9 Last-Update: 2020-04-25
10 ---
11 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
12 --- python-pauvre.orig/pauvre/tests/test_synplot.py
13 +++ python-pauvre/pauvre/tests/test_synplot.py
14 @@ -51,7 +51,9 @@
15 """This verifies that the LibSeq class is constructed with all of the
16 parameters that are present in the meraculous config files"""
17 os.chdir(self.thisoutdir)
18 - thiscommand = """pauvre synplot --aln_dir {0} \
19 + thiscommand = """PYTHONPATH=../../../..\
20 + python3 ../../../pauvre_main.py synplot \
21 + --aln_dir {0} \
22 --fileform pdf \
23 --gff_paths {1} {2} {3} \
24 --center_on COX1 \