1
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
3
"""Calculator app autopilot tests."""
5
from autopilot.matchers import Eventually
6
from testtools.matchers import Equals
8
from ubuntu_calculator_app.tests import CalculatorAppTestCase
11
class MainTestCase(CalculatorAppTestCase):
14
super(MainTestCase, self).setUp()
16
def test_calculator_visible(self):
17
self.assertThat(self.app.main_view.visible,
18
Eventually(Equals(True)))