~abreu-alexandre/ubuntu-html5-theme/rtm-backport-html5-ui-fixes

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntu_html5_container/tests/test_appLaunch.py

  • Committer: Alexandre Abreu
  • Date: 2014-12-05 21:41:18 UTC
  • Revision ID: alexandre.abreu@canonical.com-20141205214118-3czfr3ijmzb43tda
Fix oxide support

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Copyright 2014 Canonical
3
3
#
4
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.
 
5
# under the terms of the GNU Lesser General Public License version 3, as
 
6
# published by the Free Software Foundation.
7
7
 
8
8
from __future__ import absolute_import
9
9
 
10
 
from testtools.matchers import Equals
 
10
from testtools.matchers import NotEquals
11
11
 
12
12
from ubuntu_html5_container.tests import UbuntuHtml5LauncherTestCase
13
13
 
16
16
    def setUp(self):
17
17
        super(UbuntuHtml5LauncherAppLaunchTestCase, self).setUp()
18
18
 
19
 
    def test_launcherFailsWithNoWWW(self):
 
19
    def test_launcher_succeeds_with_no_www(self):
20
20
        self.launch_with_argument('')
21
 
        self.assertThat(self.get_app(), Equals(None))
22
 
 
 
21
        self.assertThat(self.get_app(), NotEquals(None))