Commit graph

23 commits

Author SHA1 Message Date
Hellowlol
6138c709cd first pass on tools and tests 2020-05-12 23:26:29 +02:00
Hellowlol
89a1ae078b Remove some unused
code
2020-04-30 00:49:11 +03:00
Hellowlol
c9052ef933 fix audio test
run black on some tests
2020-04-30 00:49:11 +03:00
Hellowlol
4d4f7123aa update location path for docker 2020-04-30 00:44:59 +03:00
Hellowlol
2683c776eb first pass on static media 2020-04-30 00:44:59 +03:00
Michael Shepanski
bee3f207eb Adding sleep to ensure AlertListener started OK. 2019-11-11 20:28:25 -05:00
Michael Shepanski
3173e9cce2 This is odd. 2019-10-16 00:04:41 -04:00
Michael Shepanski
44eed792c7 Assuming bar.update is not threadsafe.
Fix electronic tag.
Fix media duration off by 1.
2019-10-15 23:49:27 -04:00
Michael Shepanski
c439d8620d Need break 2019-10-15 23:31:13 -04:00
Michael Shepanski
beafa8d092 Actually continue when we say we will. 2019-10-15 23:20:45 -04:00
Michael Shepanski
da70e6e204 round seconds 2019-10-15 23:16:32 -04:00
Michael Shepanski
aee40e3280 Its wasn't actually a workaround. 2019-10-15 23:02:26 -04:00
Michael Shepanski
faedc272ac Remove debug lines 2019-10-15 22:57:04 -04:00
Michael Shepanski
fad1dd7add Remove print statement 2019-10-15 22:56:30 -04:00
Michael Shepanski
21508703be Be more graceful if timewout during metadata scan 2019-10-15 22:56:14 -04:00
Michael Shepanski
a6fcb21c12 Fix arguments 2019-10-15 22:44:10 -04:00
Michael Shepanski
58fabe97d8 Add print to alert_callback 2019-10-15 22:40:01 -04:00
Michael Shepanski
1ad76a6b22 Cleanup plex-bootstrap.py syntax 2019-10-15 22:23:25 -04:00
Michael Shepanski
ae235cf4ad Remove unused import 2019-06-02 22:38:53 -04:00
Michael Shepanski
591579ab3f Make executable
Dont mark shows watched if they are already marked so.
2019-06-02 22:38:24 -04:00
Andrey Yantsen
06742e87e8 run tests over unclaimed server 2018-09-15 21:44:39 +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
Andrey Yantsen
b6c061afd6 Bootstrap test plex (#290)
* fix markup in tests/conftest.py

* add plex-bootstraptest
2018-09-08 17:27:34 +02:00