← Back to team overview

ubuntu-touch-coreapps-reviewers team mailing list archive

[Merge] lp:~canonical-platform-qa/reminders-app/lp1546782 into lp:reminders-app

 

Max Brustkern has proposed merging lp:~canonical-platform-qa/reminders-app/lp1546782 into lp:reminders-app.

Requested reviews:
  Ubuntu Notes app developers (notes-app-dev)

For more details, see:
https://code.launchpad.net/~canonical-platform-qa/reminders-app/lp1546782/+merge/286926

This branch updates the test code to import specific gi versions, fixing lp#1546782.
-- 
Your team Ubuntu Notes app developers is requested to review the proposed merge of lp:~canonical-platform-qa/reminders-app/lp1546782 into lp:reminders-app.
=== modified file 'tests/autopilot/reminders/credentials.py'
--- tests/autopilot/reminders/credentials.py	2014-10-16 02:10:56 +0000
+++ tests/autopilot/reminders/credentials.py	2016-02-23 17:12:10 +0000
@@ -18,6 +18,9 @@
 import time
 import threading
 
+import gi
+gi.require_version('Accounts', '1.0')
+gi.require_version('Signon', '1.0')
 from gi.repository import Accounts, GLib, Signon
 
 

=== modified file 'tests/autopilot/reminders/tests/__init__.py'
--- tests/autopilot/reminders/tests/__init__.py	2014-11-13 10:30:34 +0000
+++ tests/autopilot/reminders/tests/__init__.py	2016-02-23 17:12:10 +0000
@@ -23,9 +23,11 @@
 import subprocess
 
 import fixtures
+import gi
 import ubuntuuitoolkit
 from autopilot import logging as autopilot_logging
 from autopilot.testcase import AutopilotTestCase
+gi.require_version('Click', '0.4')
 from gi.repository import Click
 
 import reminders

=== modified file 'tests/autopilot/reminders/tests/test_credentials.py'
--- tests/autopilot/reminders/tests/test_credentials.py	2014-10-01 12:10:43 +0000
+++ tests/autopilot/reminders/tests/test_credentials.py	2016-02-23 17:12:10 +0000
@@ -16,6 +16,8 @@
 
 import logging
 
+import gi
+gi.require_version('Accounts', '1.0')
 from gi.repository import Accounts
 from testtools.matchers import HasLength
 


Follow ups