From addff724f2fb056a8be5d1370ff4431917134ea2 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sun, 10 Jun 2018 12:17:31 +0000 Subject: [PATCH] #1838: add start-desktop to tests git-svn-id: https://xpra.org/svn/Xpra/trunk@19599 3bb7dfac-3a0b-4e04-842a-767bc560f471 --- .../server/mixins/startdesktop_option_test.py | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 src/unittests/unit/server/mixins/startdesktop_option_test.py diff --git a/src/unittests/unit/server/mixins/startdesktop_option_test.py b/src/unittests/unit/server/mixins/startdesktop_option_test.py new file mode 100755 index 0000000000..9e2caaf24b --- /dev/null +++ b/src/unittests/unit/server/mixins/startdesktop_option_test.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python +# This file is part of Xpra. +# Copyright (C) 2018 Antoine Martin +# Xpra is released under the terms of the GNU GPL v2, or, at your option, any +# later version. See the file COPYING for details. + +import unittest + +from xpra.os_util import OSX, POSIX, PYTHON2 +from unit.server.mixins.server_mixins_option_test_util import ServerMixinsOptionTestUtil + + +class StartDesktopOptionTest(ServerMixinsOptionTestUtil): + + def test_start_all(self): + self._test_all("start-desktop") + + +def main(): + if POSIX and PYTHON2 and not OSX: + unittest.main() + + +if __name__ == '__main__': + main()