fprintd/tests
Bastien Nocera 47bd3f7fbb tests/fprintd: Fix test_enroll_invalid_storage_dir test
enroll_image() was always waiting for enroll-completed rather than for
what the caller expected as the result.

======================================================================
FAIL: test_enroll_invalid_storage_dir (__main__.FPrintdVirtualDeviceClaimedTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hadess/Projects/jhbuild/fprintd/tests/fprintd.py", line 661, in test_enroll_invalid_storage_dir
    self.enroll_image('whorl', expected_result='enroll-failed')
  File "/home/hadess/Projects/jhbuild/fprintd/tests/fprintd.py", line 384, in enroll_image
    self.wait_for_result('enroll-completed')
  File "/home/hadess/Projects/jhbuild/fprintd/tests/fprintd.py", line 373, in wait_for_result
    self.assertEqual(self._last_result, expected)
AssertionError: 'enroll-failed' != 'enroll-completed'
- enroll-failed
+ enroll-completed
2020-03-27 16:26:28 +01:00
..
dbusmock tests: Fix num-enroll-stages signature in dbusmock template 2020-02-04 15:38:17 +01:00
pam build: List single unit python tests allowing to run them separately 2020-03-27 02:29:57 +01:00
prints tests: Add test prints from libfprint 2019-12-03 17:08:03 +01:00
fprintd.py tests/fprintd: Fix test_enroll_invalid_storage_dir test 2020-03-27 16:26:28 +01:00
meson.build build: List single unit python tests allowing to run them separately 2020-03-27 02:29:57 +01:00
test_fprintd_utils.py test_fprintd_utils: Don't use hard-coded sleep time 2020-03-17 17:14:35 +01:00
unittest_inspector.py tests: Add a tool to inspect the single python unit tests 2020-03-27 01:57:22 +01:00