Skip to content

Commit 158dd37

Browse files
authored
Fix language in library tests (#889)
* Fix language in library tests * "Other Videos" library type uses `language="xn"` * Log server version in bootstrap server
1 parent e3aa111 commit 158dd37

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

tests/test_library.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def test_library_add_edit_delete(plex, movies, photos):
133133
type="movie",
134134
agent="com.plexapp.agents.none",
135135
scanner="Plex Video Files Scanner",
136-
language="en",
136+
language="xn",
137137
location=[movie_location, photo_location]
138138
)
139139
section = plex.library.section(section_name)
@@ -146,7 +146,7 @@ def test_library_add_edit_delete(plex, movies, photos):
146146
type="movie",
147147
agent="com.plexapp.agents.none",
148148
scanner="Plex Video Files Scanner",
149-
language="en",
149+
language="xn",
150150
location=[movie_location, photo_location[:-1]]
151151
)
152152
# Create library with no path
@@ -156,7 +156,7 @@ def test_library_add_edit_delete(plex, movies, photos):
156156
type="movie",
157157
agent="com.plexapp.agents.none",
158158
scanner="Plex Video Files Scanner",
159-
language="en",
159+
language="xn",
160160
)
161161
with pytest.raises(NotFound):
162162
plex.library.section(error_section_name)

tools/plex-bootstraptest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,8 @@ def alert_callback(data):
482482
"Server didnt appear in your account after %ss" % opts.bootstrap_timeout
483483
)
484484

485-
print("Plex container started after %ss, setting up content" % int(runtime))
485+
print("Plex container started after %ss" % int(runtime))
486+
print("Plex server version %s" % server.version)
486487

487488
if opts.accept_eula:
488489
server.settings.get("acceptedEULA").set(True)

0 commit comments

Comments
 (0)