1
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
2
# Copyright 2012 Canonical
4
# This program is free software: you can redistribute it and/or modify it
5
# under the terms of the GNU General Public License version 3, as published
6
# by the Free Software Foundation.
8
"""Calendar app autopilot tests."""
10
from __future__ import absolute_import
12
from autopilot.matchers import Eventually
13
from autopilot.platform import model
14
from testtools.matchers import Equals
16
from ubuntu_calendar_app.tests import CalendarTestCase
19
class CalendarTestCase(CalendarTestCase):
22
super(CalendarTestCase, self).setUp()
24
self.main_window.get_qml_view().visible, Eventually(Equals(True)))
27
super(CalendarTestCase, self).tearDown()