{"action":"created","issue":{"url":"https://api.github.com/repos/hlamer/enki/issues/277","labels_url":"https://api.github.com/repos/hlamer/enki/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/hlamer/enki/issues/277/comments","events_url":"https://api.github.com/repos/hlamer/enki/issues/277/events","html_url":"https://github.com/hlamer/enki/issues/277","id":70732445,"number":277,"title":"Unit test failure","user":{"login":"bjones1","id":2125584,"avatar_url":"https://avatars.githubusercontent.com/u/2125584?v=3","gravatar_id":"","url":"https://api.github.com/users/bjones1","html_url":"https://github.com/bjones1","followers_url":"https://api.github.com/users/bjones1/followers","following_url":"https://api.github.com/users/bjones1/following{/other_user}","gists_url":"https://api.github.com/users/bjones1/gists{/gist_id}","starred_url":"https://api.github.com/users/bjones1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjones1/subscriptions","organizations_url":"https://api.github.com/users/bjones1/orgs","repos_url":"https://api.github.com/users/bjones1/repos","events_url":"https://api.github.com/users/bjones1/events{/privacy}","received_events_url":"https://api.github.com/users/bjones1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hlamer/enki/labels/bug","name":"bug","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hlamer/enki/milestones/10","html_url":"https://github.com/hlamer/enki/milestones/v15.04","labels_url":"https://api.github.com/repos/hlamer/enki/milestones/10/labels","id":728879,"number":10,"title":"v15.04","description":"","creator":{"login":"hlamer","id":419720,"avatar_url":"https://avatars.githubusercontent.com/u/419720?v=3","gravatar_id":"","url":"https://api.github.com/users/hlamer","html_url":"https://github.com/hlamer","followers_url":"https://api.github.com/users/hlamer/followers","following_url":"https://api.github.com/users/hlamer/following{/other_user}","gists_url":"https://api.github.com/users/hlamer/gists{/gist_id}","starred_url":"https://api.github.com/users/hlamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlamer/subscriptions","organizations_url":"https://api.github.com/users/hlamer/orgs","repos_url":"https://api.github.com/users/hlamer/repos","events_url":"https://api.github.com/users/hlamer/events{/privacy}","received_events_url":"https://api.github.com/users/hlamer/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":25,"state":"open","created_at":"2014-07-22T20:35:52Z","updated_at":"2015-04-28T07:18:33Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-04-24T16:24:49Z","updated_at":"2015-04-28T21:17:52Z","closed_at":null,"body":"Running with current head. I'll take a look at the test_markdown failure -- any ideas on the others?\r\n\r\n```\r\n======================================================================\r\nERROR: test_4 (test_plugins.test_workspace_commands.Test)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\base.py\", line 97, in execWithArgs\r\n    func(*args)\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\test_lib\\..\\test_plugins\\test_workspace_comman\r\nds.py\", line 76, in test_4\r\n    with open(fullPath) as file_:\r\nIOError: [Errno 2] No such file or directory: 'c:\\\\users\\\\bjones\\\\appdata\\\\local\\\\temp\\\\enki-tests\\\\\r\ndir1/dir2/thefile.txt'\r\n\r\n======================================================================\r\nFAIL: test_markdown (test_plugins.test_preview.Test)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\base.py\", line 97, in execWithArgs\r\n    func(*args)\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\test_lib\\..\\test_plugins\\test_preview.py\", lin\r\ne 167, in test_markdown\r\n    self._doBasicTest('md')\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\test_lib\\..\\test_plugins\\test_preview.py\", lin\r\ne 100, in _doBasicTest\r\n    self._assertHtmlReady(lambda: self.createFile('.'.join([name, extension]),\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\test_lib\\..\\test_plugins\\test_preview.py\", lin\r\ne 92, in _assertHtmlReady\r\n    self.assertEmits(start, self._widget().webView.page().mainFrame().loadFinished, timeout)\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\base.py\", line 394, in assertEmits\r\n    timeoutMs, expectedSignalParams))\r\nAssertionError: False is not true\r\n\r\n======================================================================\r\nFAIL: test_2 (test_plugins.test_workspace_commands.Test)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\base.py\", line 97, in execWithArgs\r\n    func(*args)\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\test_lib\\..\\test_plugins\\test_workspace_comman\r\nds.py\", line 50, in test_2\r\n    self.assertEqual(core.workspace().currentDocument().filePath(), fullPath)\r\nAssertionError: u'c:\\\\users\\\\bjones\\\\appdata\\\\local\\\\temp\\\\enki-tests\\\\c:usersbjonesappdatalocaltemp\r\nenki-teststhefile.txt' != 'c:\\\\users\\\\bjones\\\\appdata\\\\local\\\\temp\\\\enki-tests\\\\thefile.txt'\r\n\r\n======================================================================\r\nFAIL: test_3 (test_plugins.test_workspace_commands.Test)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\base.py\", line 97, in execWithArgs\r\n    func(*args)\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\test_lib\\..\\test_plugins\\test_workspace_comman\r\nds.py\", line 64, in test_3\r\n    self.assertEqual(core.workspace().currentDocument().filePath(), fullPath)\r\nAssertionError: u'c:\\\\users\\\\bjones\\\\appdata\\\\local\\\\temp\\\\enki-tests\\\\c:usersbjonesappdatalocaltemp\r\nenki-teststhefile.txt' != 'c:\\\\users\\\\bjones\\\\appdata\\\\local\\\\temp\\\\enki-tests\\\\thefile.txt'\r\n\r\n======================================================================\r\nFAIL: test_6 (test_plugins.test_workspace_commands.Test)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\base.py\", line 97, in execWithArgs\r\n    func(*args)\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\test_lib\\..\\test_plugins\\test_workspace_comman\r\nds.py\", line 108, in test_6\r\n    self.assertEqual(core.workspace().currentDocument().filePath(), fullPath)\r\nAssertionError: u'c:\\\\users\\\\bjones\\\\appdata\\\\local\\\\temp\\\\enki-tests\\\\c:usersbjonesappdatalocaltemp\r\nenki-teststhe file.txt' != 'c:\\\\users\\\\bjones\\\\appdata\\\\local\\\\temp\\\\enki-tests\\\\the file.txt'\r\n\r\n======================================================================\r\nFAIL: test_7 (test_plugins.test_workspace_commands.Test)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\base.py\", line 318, in <lambda>\r\n    QTimer.singleShot(20, lambda: timerCallback(1))\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\base.py\", line 311, in timerCallback\r\n    runInDialogFunc(dialog)\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\test_lib\\..\\test_plugins\\test_workspace_comman\r\nds.py\", line 124, in inDialogFunc\r\n    'f ' + fullPath.replace(' ', '\\\\ '))\r\nAssertionError: u'f c:\\\\users\\\\bjones\\\\appdata\\\\local\\\\temp\\\\enki-tests/the' != 'f c:\\\\users\\\\bjones\r\n\\\\appdata\\\\local\\\\temp\\\\enki-tests\\\\the\\\\ file.txt'\r\n\r\n----------------------------------------------------------------------\r\nRan 281 tests in 98.363s\r\n\r\nFAILED (failures=5, errors=1, skipped=24, expected failures=3)\r\n```"},"comment":{"url":"https://api.github.com/repos/hlamer/enki/issues/comments/97209953","html_url":"https://github.com/hlamer/enki/issues/277#issuecomment-97209953","issue_url":"https://api.github.com/repos/hlamer/enki/issues/277","id":97209953,"user":{"login":"bjones1","id":2125584,"avatar_url":"https://avatars.githubusercontent.com/u/2125584?v=3","gravatar_id":"","url":"https://api.github.com/users/bjones1","html_url":"https://github.com/bjones1","followers_url":"https://api.github.com/users/bjones1/followers","following_url":"https://api.github.com/users/bjones1/following{/other_user}","gists_url":"https://api.github.com/users/bjones1/gists{/gist_id}","starred_url":"https://api.github.com/users/bjones1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjones1/subscriptions","organizations_url":"https://api.github.com/users/bjones1/orgs","repos_url":"https://api.github.com/users/bjones1/repos","events_url":"https://api.github.com/users/bjones1/events{/privacy}","received_events_url":"https://api.github.com/users/bjones1/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T21:17:52Z","updated_at":"2015-04-28T21:17:52Z","body":"Oops. Ignore the above. Retesting on 7c18e1caf5b0d8e10d9e9a1dbcd24366588cb668 shows only one failure:\r\n\r\n```\r\n======================================================================\r\nFAIL: test_7 (test_plugins.test_workspace_commands.Test)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\base.py\", line 318, in <lambda>\r\n    QTimer.singleShot(20, lambda: timerCallback(1))\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\base.py\", line 311, in timerCallback\r\n    runInDialogFunc(dialog)\r\n  File \"C:\\Users\\bjones\\Documents\\enki_all\\enki\\tests\\test_lib\\..\\test_plugins\\test_workspace_comman\r\nds.py\", line 124, in inDialogFunc\r\n    'f ' + fullPath.replace('\\\\', '\\\\\\\\').replace(' ', '\\\\ '))\r\nAssertionError: u'f c:\\\\users\\\\bjones\\\\appdata\\\\local\\\\temp\\\\enki-tests/the' != 'f c:\\\\\\\\users\\\\\\\\bj\r\nones\\\\\\\\appdata\\\\\\\\local\\\\\\\\temp\\\\\\\\enki-tests\\\\\\\\the\\\\ file.txt'\r\n\r\n----------------------------------------------------------------------\r\n```"}}