We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a3e7a0 commit 201466aCopy full SHA for 201466a
plexapi/base.py
@@ -1,4 +1,4 @@
1
-def # -*- coding: utf-8 -*-
+# -*- coding: utf-8 -*-
2
import re
3
4
from plexapi import log, utils
tests/test_gdm.py
@@ -0,0 +1,15 @@
+import pytest
+from plexapi.gdm import GDM
+
5
+@pytest.mark.xfail(reason="Might fail on docker", strict=False)
6
+def test_gdm(plex):
7
+ gdm = GDM()
8
9
+ gdm_enabled = plex.settings.get("GdmEnabled")
10
11
+ gdm.scan(timeout=2)
12
+ if gdm_enabled:
13
+ assert len(gdm.entries)
14
+ else:
15
+ assert not len(gdm.entries)
0 commit comments