Advertisement
epikvision

RuntimeError in music-app testcase

Jul 24th, 2013
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.11 KB | None | 0 0
  1. john@kotux:~/phablet/coreapps/music-app/tests/autopilot$ autopilot list music_app
  2. Loading tests from: /home/john/phablet/coreapps/music-app/tests/autopilot
  3.  
  4. *1 music_app.tests.test_music.TestMainWindow.test_pause
  5. *1 music_app.tests.test_music.TestMainWindow.test_play
  6. *1 music_app.tests.test_music.TestMainWindow.test_reads_music_from_home
  7.  
  8.  
  9. 3 total tests.
  10. john@kotux:~/phablet/coreapps/music-app/tests/autopilot$ autopilot run music_app.tests.test_music.TestMainWindow.test_pause
  11. Loading tests from: /home/john/phablet/coreapps/music-app/tests/autopilot
  12.  
  13. Tests running...
  14. ======================================================================
  15. ERROR: music_app.tests.test_music.TestMainWindow.test_pause(with mouse)
  16. ----------------------------------------------------------------------
  17. _StringException: Empty attachments:
  18. process-stdout
  19.  
  20. process-stderr: {{{
  21. Loading testability driver.
  22. file:///home/john/phablet/coreapps/music-app/music-app.qml:23 module "org.nemomobile.folderlistmodel" is not installed
  23. }}}
  24.  
  25. Traceback (most recent call last):
  26. File "/home/john/phablet/coreapps/music-app/tests/autopilot/music_app/tests/test_music.py", line 31, in setUp
  27. super(TestMainWindow, self).setUp()
  28. File "/home/john/phablet/coreapps/music-app/tests/autopilot/music_app/tests/__init__.py", line 38, in setUp
  29. self.launch_test_local()
  30. File "/home/john/phablet/coreapps/music-app/tests/autopilot/music_app/tests/__init__.py", line 46, in launch_test_local
  31. app_type='qt')
  32. File "/usr/lib/python2.7/dist-packages/autopilot/testcase.py", line 273, in launch_test_application
  33. return get_autopilot_proxy_object_for_process(process, emulator_base)
  34. File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 169, in get_autopilot_proxy_object_for_process
  35. pid, emulator_base=emulator_base)
  36. File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 235, in get_proxy_object_for_existing_process
  37. raise RuntimeError("Search criteria returned no results")
  38. RuntimeError: Search criteria returned no results
  39.  
  40.  
  41. Ran 1 test in 20.817s
  42. FAILED (failures=1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement