~canonical-platform-qa/ubuntu-system-tests/retry_for_restart_unity

« back to all changes in this revision

Viewing changes to ubuntu_system_tests/helpers/camera.py

  • Committer: Tarmac
  • Author(s): Richard Huddie
  • Date: 2015-06-11 15:14:08 UTC
  • mfrom: (125.1.1 ubuntu-system-tests)
  • Revision ID: tarmac-20150611151408-0tlcvs03v5c2tuha
Fix camera test and ofono helper to detect sim.

Approved by Sergio Cazzolato, Brendan Donegan, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
logger = logging.getLogger(__name__)
28
28
 
29
29
 
30
 
class CameraApp(uitk.UbuntuUIToolkitCustomProxyObjectBase):
31
 
    """Class to represent the camera application."""
32
 
 
33
 
    @property
34
 
    def main_window(self):
35
 
        """Return instance of CameraMainWindow so the helpers can be used."""
36
 
        return CameraMainWindow(self)
37
 
 
38
 
 
39
 
class CameraMainWindow(MainWindow):
 
30
class MainWindow(MainWindow):
40
31
    """Class to extend camera applications MainWindow controls."""
41
32
 
42
33
    @autopilot.logging.log_action(logger.info)