/usr/lib/python2.7/dist-packages/address_book_app/tests/test_contactlist.py is in address-book-app-autopilot 0.2+14.04.20140408.3-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
# Copyright 2013 Canonical
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3, as published
# by the Free Software Foundation.
"""Tests for the Mediaplayer App"""
from __future__ import absolute_import
from autopilot.matchers import Eventually
from testtools.matchers import Equals
from address_book_app.tests import AddressBookAppTestCase
class TestContactList(AddressBookAppTestCase):
"""Tests the contact list features"""
def test_contact_list(self):
contact_list = self.main_window.get_contact_list_page()
self.assertThat(contact_list.visible, Eventually(Equals(True)))
pass
|