~nskaggs/help-app/functional-test-template

« back to all changes in this revision

Viewing changes to internals/tests/functional/help_app/tests/test_app_launch.py

  • Committer: nskaggs
  • Date: 2015-05-28 20:26:30 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20150528202630-ryv2q2sztwqlxkjv
initial modification to add helper and multiple testsuites for web and app

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2
2
 
3
 
from help_app.tests import HTML5TestCaseBase
4
 
 
5
 
 
6
 
class LaunchTestCaseBase(HTML5TestCaseBase):
7
 
    def setUp(self):
8
 
        super(LaunchTestCaseBase, self).setUp()
 
3
from help_app.tests import HTML5TestCaseBase, HelpAppTest, HelpWebTest
 
4
from testtools.matchers import NotEquals
 
5
 
 
6
 
 
7
class LaunchTestCaseBase(HelpAppTest):
9
8
 
10
9
    def test_basic_launch(self):
11
 
        self.launch_html5_app()
 
10
        self.assertThat(self.app, NotEquals(None))
12
11
 
13
12
        # <add assert here>