1
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
3
"""Tests for the Hello World"""
5
from autopilot.matchers import Eventually
6
from textwrap import dedent
7
from testtools.matchers import Is, Not, Equals
8
from testtools import skip
10
from ubuntu-clock-app import UbuntuTouchAppTestCase
13
class MainTests(UbuntuTouchAppTestCase):
14
"""Generic tests for the Hello World"""
16
test_qml_file = "%s/%s.qml" % (os.path.dirname(os.path.realpath(__file__)),"../../../../ubuntu-clock-app")
18
def test_0_can_select_mainView(self):
19
"""Must be able to select the mainview."""
21
mainView = self.get_mainview()
22
self.assertThat(mainView.visible,Eventually(Equals(True)))