CameraTestCase.test_take_picture_with_rear_camera failed with testtools.matchers._impl.MismatchError: True != None

Bug #1432590 reported by Jean-Baptiste Lallement on 2015-03-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-system-tests
Undecided
Unassigned

Bug Description

current build number: 136
device name: mako
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/vivid-proposed
last update: 2015-03-16 10:45:47
version version: 136
version ubuntu: 20150316
version device: 20150210
version custom: 20150316

ubuntu-sanity-suite r100

ubuntu_sanity_tests.tests.test_camera.CameraTestCase.test_take_picture_with_rear_camera failed:

10:58:08.107 ERROR testresult:44 - FAIL: ubuntu_sanity_tests.tests.test_camera.CameraTestCase.test_take_picture_with_rear_camera
10:58:08.110 ERROR testresult:44 - traceback: {{{
Traceback (most recent call last):
  File "/tmp/adt-run.0IqrZm/build.TvL/real-tree/ubuntu_sanity_tests/tests/test_camera.py", line 121, in test_take_picture_with_rear_camera
    self._validate_photo(self._get_last_photo_name())
  File "/tmp/adt-run.0IqrZm/build.TvL/real-tree/ubuntu_sanity_tests/tests/test_camera.py", line 98, in _validate_photo
    self._check_flash_status(file_path, expected_status=True)
  File "/tmp/adt-run.0IqrZm/build.TvL/real-tree/ubuntu_sanity_tests/tests/test_camera.py", line 89, in _check_flash_status
    self.assertThat(flash_status, Equals(expected_status))
  File "/tmp/adt-run.0IqrZm/deps/usr/lib/python3/dist-packages/testtools/testcase.py", line 423, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: True != None
}}}

Jean-Baptiste Lallement (jibel) wrote :
information type: Proprietary → Public
summary: - CameraTestCase.test_take_picture_with_rear_camera failed
+ CameraTestCase.test_take_picture_with_rear_camera failed with
+ testtools.matchers._impl.MismatchError: True != None
Richard Huddie (rhuddie) wrote :

This bug is caused by Flash status not being saved into exifdata on mako. Related bug:
https://bugs.launchpad.net/camera-app/+bug/1429108

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments