mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 03:33:08 +00:00
Fix language in library tests (#889)
* Fix language in library tests * "Other Videos" library type uses `language="xn"` * Log server version in bootstrap server
This commit is contained in:
parent
e3aa111784
commit
158dd37e41
2 changed files with 5 additions and 4 deletions
|
@ -133,7 +133,7 @@ def test_library_add_edit_delete(plex, movies, photos):
|
|||
type="movie",
|
||||
agent="com.plexapp.agents.none",
|
||||
scanner="Plex Video Files Scanner",
|
||||
language="en",
|
||||
language="xn",
|
||||
location=[movie_location, photo_location]
|
||||
)
|
||||
section = plex.library.section(section_name)
|
||||
|
@ -146,7 +146,7 @@ def test_library_add_edit_delete(plex, movies, photos):
|
|||
type="movie",
|
||||
agent="com.plexapp.agents.none",
|
||||
scanner="Plex Video Files Scanner",
|
||||
language="en",
|
||||
language="xn",
|
||||
location=[movie_location, photo_location[:-1]]
|
||||
)
|
||||
# Create library with no path
|
||||
|
@ -156,7 +156,7 @@ def test_library_add_edit_delete(plex, movies, photos):
|
|||
type="movie",
|
||||
agent="com.plexapp.agents.none",
|
||||
scanner="Plex Video Files Scanner",
|
||||
language="en",
|
||||
language="xn",
|
||||
)
|
||||
with pytest.raises(NotFound):
|
||||
plex.library.section(error_section_name)
|
||||
|
|
|
@ -482,7 +482,8 @@ if __name__ == "__main__":
|
|||
"Server didnt appear in your account after %ss" % opts.bootstrap_timeout
|
||||
)
|
||||
|
||||
print("Plex container started after %ss, setting up content" % int(runtime))
|
||||
print("Plex container started after %ss" % int(runtime))
|
||||
print("Plex server version %s" % server.version)
|
||||
|
||||
if opts.accept_eula:
|
||||
server.settings.get("acceptedEULA").set(True)
|
||||
|
|
Loading…
Reference in a new issue