aboutsummaryrefslogtreecommitdiff
path: root/tests/slmock
diff options
context:
space:
mode:
Diffstat (limited to 'tests/slmock')
-rwxr-xr-xtests/slmock15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/slmock b/tests/slmock
index b3b5019..59c5174 100755
--- a/tests/slmock
+++ b/tests/slmock
@@ -78,20 +78,6 @@ def freerdp(email):
ms.set_default(ts1.Name)
print(ms.toJson())
-def x2go(email):
- ms = ManagementServer("http://x2go.intern", "X2GoSessionBroker")
- ts1 = TerminalServer("10.0.2.11", "X2Go Server 1", "x2go", False,
- "foo")
- ts2 = TerminalServer("10.0.2.12", "X2Go Server 2", "x2go", False,
- "bar")
- ts3 = TerminalServer("10.0.2.13", "X2Go Server 3", "x2go", False,
- "foobar")
- ms.add_terminal_server(ts1)
- ms.add_terminal_server(ts2)
- ms.add_terminal_server(ts3)
- ms.set_default(ts1.Name)
- print(ms.toJson())
-
def print_error(text):
print("{ \"Error\": \"%s\" }" % text)
@@ -215,7 +201,6 @@ emailaddrs = {"b" : big, #lots of domains/servers
"d" : defaults, #for easy testing of default ts
"e" : error,
"f" : freerdp,
- "x" : x2go,
"g" : garbage,
"m" : missing_fields, #json missing some fields
"r" : random_string,