The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

browser.pages: Implement distinct-values xpath function

On some websites, html content can be duplicated.
This can be overcame but it can lead to complexe/fragile xpaths.
distinct-values allows to solve this cases by unifiying duplicated values.
7 jobs for master in 63 minutes and 26 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #30952
build:3

00:01:00

 
  Test
passed #30955
load-modules:3

00:02:09

failed #30953
pyflakes:3

00:02:19

passed #30954
pyflakes-strict:3

00:02:31

failed #30956
unittests:3

00:01:39

43.0%
failed #30957
allowed to fail
unittests-modules:3

01:00:00

 
  Deploy
skipped #30958
doc:3
 
Name Stage Failure
failed
unittests-modules:3 Test The script exceeded the maximum execution time set for the job
test_search_song_n_get (lyricsmode.test.LyricsmodeTest) [None] ... ERROR
test_search_artist (lyricsplanet.test.LyricsplanetTest) [None] ... FAIL
test_search_song_n_get (lyricsplanet.test.LyricsplanetTest) [None] ... FAIL
test_mailinator (mailinator.test.MailinatorTest) [None] ... ERROR
test_manpower (manpower.test.ManpowerTest) [None] ... ok
test_manpower_advanced_search (manpower.test.ManpowerTest) [None] ... ok
test_mareeinfo (mareeinfo.test.MareeinfoTest) [None] ... ERROR
test_recipe (marmiton.test.MarmitonTest) [None] ...
Pulling docker image gitlab-runner-helper:12.5.0 ...
ERROR: Job failed: execution took longer than 1h0m0s seconds
failed
unittests:3 Test
---------------------------------------------------------------------
TOTAL 8036 4574 43%
----------------------------------------------------------------------
Ran 59 tests in 0.193s

FAILED (failures=1)
=== Total coverage ===
CORE COVERAGE: 43%
ERROR: Job failed: exit code 1
failed
pyflakes:3 Test
modules/lesterrains/module.py:61:    
Error: tabs or trailing whitespace found, remove them
modules/lesterrains/browser.py:23:1: F401 'woob.browser.filters.standard.CleanText' imported but unused
modules/lesterrains/browser.py:23:1: F401 'woob.browser.filters.standard.Lower' imported but unused
modules/lesterrains/browser.py:23:1: F401 'woob.browser.filters.standard.Regexp' imported but unused
modules/lesterrains/browser.py:24:1: F401 'woob.capabilities.housing.TypeNotSupported' imported but unused
modules/lesterrains/pages.py:22:1: F401 'woob.browser.filters.standard.Format' imported but unused
modules/lesterrains/test.py:21:1: F401 'woob.capabilities.housing.ADVERT_TYPES' imported but unused
ERROR: Job failed: exit code 1