Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-12007 patch: add Display creation test with invalid server #9

Merged
merged 1 commit into from
Nov 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/test_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

import lsst.utils.tests
import lsst.display.firefly
import lsst.afw.display as afw_display
import ws4py


Expand All @@ -41,6 +42,12 @@ def testConnect(self):
lsst.display.firefly.firefly_client.FireflyClient(
'google.com:80')

def testMakeDisplay(self):
with self.assertRaises(RuntimeError):
afw_display.Display(backend='firefly',
host='google.com',
port=80)


class MemoryTester(lsst.utils.tests.MemoryTestCase):
pass
Expand Down