Commit graph

52 commits

Author SHA1 Message Date
jjlawren
30ab858c93
Remove redundant travis conditional (#460) 2020-04-17 15:12:06 -05:00
Hellowlol
34c506107f update travis build
so we always test on the latest.
2020-04-16 23:51:18 +02:00
Steffen Fredriksen
4dfdf781d4
drop python 3.4 and 2.7 tests. 2020-03-14 15:21:56 +01:00
Andreas Maier
1751dbaa14 Verified correct installation of plexapi in Travis
The missed dependency to the 'mock' package on Python 2.7 made it clear
that this went by undetected in the Travis runs.

This change updates the Travis control file to verify that the plexapi
package can be successfully imported after being installed from the
working directory using pip.

Because the installation of py.test drags in a lot of dependencies,
it was moved after the installation of plexapi.

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
2019-12-31 13:49:25 +01:00
Andrey Yantsen
6d0f0295a0 use Plex Server 1.10.1 for testing agains oldest version 2019-02-07 10:26:00 +00:00
Andrey Yantsen
e5794e4a13 use Plex Server 1.9.7 for testing against oldest version 2019-02-07 00:04:11 +00:00
Michael Shepanski
4f5ce34b17 Ignore new flake8 check 2018-10-24 09:22:04 -04:00
Andrey Yantsen
c63790ae45 add COVERALLS_PARALLEL=true to coveralls run 2018-09-16 09:49:47 +01:00
Andrey Yantsen
06742e87e8 run tests over unclaimed server 2018-09-15 21:44:39 +01:00
Andrey Yantsen
a774925f8c do not run tests, except flake8, on pull requests 2018-09-14 23:45:53 +01:00
Andrey Yantsen
68fc970d7a Improvements in tests process (#297)
* lets begin

* skip plexpass tests if there is not plexpass on account

* test new myplex attrubutes

* bootstrap: proper photos organisation

* fix rest of photos tests

* fix myplex new attributes test

* fix music bootstrap by setting agent to lastfm

* fix sync tests

* increase bootstrap timeout

* remove timeout from .travis.yml

* do not create playlist-style photoalbums in plex-bootstraptest.py

* allow negative filtering in LibrarySection.search()

* fix sync tests once again

* use sendCrashReports in test_settings

* fix test_settings

* fix test_video

* do not accept eula in bootstrap

* fix PlexServer.isLatest()

* add test against old version of PlexServer

* fix MyPlexAccount.OutOut

* add flag for one-time testing in Travis

* fix test_library onDeck tests

* fix more tests

* use tqdm in plex-bootstraptest for media scanning progress

* create sections one-by-one

* update docs on AlertListener for timeline entries

* fix plex-bootstraptest for server version 1.3.2

* display skip/xpass/xfail reasons

* fix tests on 1.3

* wait for music to be fully processed in plex-bootstraptest

* fix misplaced TEST_ACCOUNT_ONCE

* fix test_myplex_users, not sure if in proper-way

* add pytest-rerunfailures; mark test_myplex_optout as flaky

* fix comment

* Revert "add pytest-rerunfailures; mark test_myplex_optout as flaky"

This reverts commit 580e4c95a7.

* restart plex container on failure

* add conftest.wait_until() and used where some retries are required

* add more wait_until() usage in test_sync

* fix managed user search

* fix updating managed users in myplex

* allow to add new servers to existent users

* add new server to a shared user while bootstrapping

* add some docs on testing process

* perform few attemps when unable to get the claim token

* unlock websocket-client in requirements_dev

* fix docblock in tools/plex-teardowntest

* do not hardcode mediapart size in test_video

* remove cache:pip from travis

* Revert "unlock websocket-client in requirements_dev"

This reverts commit 0d536bd06d.

* remove debug from server.py

* improve webhook tests

* fix type() check to isinstance()

* remove excessive `else` branch due to Hellowlol advice

* add `unknown` as allowed `myPlexMappingState` in test_server
2018-09-14 20:03:23 +02:00
Michael Shepanski
dff170643d Try workaround in before_install 2017-08-11 18:22:26 -04:00
Michael Shepanski
71f0a07afa Remove workaround; Didnt work. 2017-08-11 18:00:11 -04:00
Michael Shepanski
06aa78dcd8 Workaround for setuptools error 2017-08-11 17:46:11 -04:00
Michael Shepanski
909e889e0e Update Travis to deploy on tests passing 2017-08-11 15:52:11 -04:00
Michael Shepanski
46608d789d Tweak two tests; Remove Python 3.5 testing since we cover both before and after already 2017-05-01 23:33:26 -04:00
Michael Shepanski
6efa9bd7da Remove req doc 2017-04-30 02:02:58 -04:00
Michael Shepanski
d3cf88d365 I give up building docs on travis 2017-04-29 23:19:23 -04:00
Michael Shepanski
9b1b5d26dd Install sphinx in requirments 2017-04-29 22:51:38 -04:00
Michael Shepanski
948af75c92 Install python3-sphinx, not python2 2017-04-29 22:43:42 -04:00
Michael Shepanski
ccd3c2952a CD to proper directory 2017-04-29 22:00:30 -04:00
Michael Shepanski
f5af8cdae3 Mark Alert thread class as daemon; Build docs directly from travis script (not a test) 2017-04-29 21:19:59 -04:00
Michael Shepanski
71b25c028d Mark building docs as xfail; Remove specialized build docs test 2017-04-29 02:36:37 -04:00
Michael Shepanski
741f74575b Show verbose logs for building docs 2017-04-29 02:31:45 -04:00
Michael Shepanski
6bb18843d7 Fix a few tests 2017-04-29 02:21:20 -04:00
Michael Shepanski
5700228add -s option didn't work; Removing it 2017-02-28 01:09:42 -05:00
Michael Shepanski
c446d52c70 This one works locally 2017-02-27 21:31:06 -05:00
Michael Shepanski
0e56ecebfa Add quotes 2017-02-27 21:27:52 -05:00
Michael Shepanski
f93b4a4dbd Only run flake8 on pull requests 2017-02-27 21:21:57 -05:00
Michael Shepanski
6fe06be8e5 Dont capture stdout (maybe fixes halting issue?) 2017-02-27 00:51:22 -05:00
Michael Shepanski
b35b265776 Better formatting for list settings 2017-02-24 23:14:52 -05:00
Michael Shepanski
8bb80a4222 Make flake8 happy 2017-02-23 02:08:04 -05:00
Michael Shepanski
050e7fbd73 Remove requirements.txt 2017-02-20 00:41:02 -05:00
Michael Shepanski
cd1a05d770 Make flake8 happy 2017-02-20 00:37:00 -05:00
Michael Shepanski
0791f71182 Drop --cov-report=html; See if that stops Travis from getting stuck after running tests 2017-02-19 22:40:31 -05:00
Michael Shepanski
2f0c053538 Remove Python 3.3 2017-02-13 19:55:11 -05:00
Michael Shepanski
b36a6776a5 Add build documentation test 2017-02-13 17:44:28 -05:00
Michael Shepanski
f676d4cbbf Most tests passing; Need to add better filters on fetchItems for watched / unwatched 2017-02-08 02:00:43 -05:00
Michael Shepanski
f17b398f6a Add fast_finish to travis.yml 2017-02-02 09:44:37 -05:00
Michael Shepanski
426f74ea50 Remove 2 spaces 2017-02-02 00:19:39 -05:00
Michael Shepanski
a529be7d28 Fixpath tp pytests in travis file 2017-02-01 23:13:00 -05:00
Hellowlol
e2efc5f3f2 remove backup files, add .orgin to gitignore
- delete .travis....
2017-02-01 22:41:41 +01:00
Hellowlol
afba8fdfb6 test on all supported python versions 2017-02-01 20:46:53 +01:00
Hellowlol
2efb49177f pytest seems to install a old verion 2017-02-01 20:45:57 +01:00
Hellowlol
551dfe2423 t 2017-02-01 20:45:56 +01:00
Hellowlol
0b6834a1f4 damn 2017-02-01 20:45:55 +01:00
Hellowlol
770ae40272 ffs 2017-02-01 20:45:55 +01:00
Hellowlol
5ddf9a0ace oh loard 2017-02-01 20:45:54 +01:00
Michael Shepanski
0156330e1f only run a single test 2017-01-24 01:09:47 -05:00
Michael Shepanski
6965cd2995 Dont force the python version 2017-01-24 00:43:37 -05:00