1
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2
# Copyright 2014 Canonical
4
# This program is free software: you can redistribute it and/or modify it
5
# under the terms of the GNU Lesser General Public License version 3, as published
6
# by the Free Software Foundation.
8
from __future__ import absolute_import
10
from testtools.matchers import Equals
12
from ubuntu_html5_container.tests import UbuntuHtml5LauncherTestCase
15
class UbuntuHtml5LauncherAppLaunchTestCase(UbuntuHtml5LauncherTestCase):
17
super(UbuntuHtml5LauncherAppLaunchTestCase, self).setUp()
19
def test_launcherFailsWithNoWWW(self):
20
self.launch_with_argument('')
21
self.assertThat(self.get_app(), Equals(None))