{"action":"created","issue":{"url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/485","labels_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/485/comments","events_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/485/events","html_url":"https://github.com/sigmavirus24/github3.py/issues/485","id":117716621,"number":485,"title":"Tests failing","user":{"login":"ueg1990","id":3393794,"avatar_url":"https://avatars.githubusercontent.com/u/3393794?v=3","gravatar_id":"","url":"https://api.github.com/users/ueg1990","html_url":"https://github.com/ueg1990","followers_url":"https://api.github.com/users/ueg1990/followers","following_url":"https://api.github.com/users/ueg1990/following{/other_user}","gists_url":"https://api.github.com/users/ueg1990/gists{/gist_id}","starred_url":"https://api.github.com/users/ueg1990/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ueg1990/subscriptions","organizations_url":"https://api.github.com/users/ueg1990/orgs","repos_url":"https://api.github.com/users/ueg1990/repos","events_url":"https://api.github.com/users/ueg1990/events{/privacy}","received_events_url":"https://api.github.com/users/ueg1990/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-19T00:57:00Z","updated_at":"2015-11-19T14:29:53Z","closed_at":null,"body":"I was working on an issue and ran the tests before my changes and they are failing:\r\n\r\ntox -e py27,py34\r\nGLOB sdist-make: /Users/ue/Desktop/Projects/github3.py/setup.py\r\npy27 inst-nodeps: /Users/ue/Desktop/Projects/github3.py/.tox/dist/github3.py-1.0.0a2.zip\r\npy27 installed: betamax==0.5.1,betamax-matchers==0.2.0,github3.py==1.0.0a2,linecache2==1.0.0,mock==1.0.1,py==1.4.30,pytest==2.8.2,requests==2.8.1,requests-toolbelt==0.4.0,six==1.10.0,traceback2==1.4.0,unittest2==1.1.0,uritemplate.py==0.3.0,wheel==0.24.0\r\npy27 runtests: PYTHONHASHSEED='1592419802'\r\npy27 runtests: commands[0] | py.test\r\n.............XF..........................................................................................................................x....x..................x.....................................................................................................X............................................................................................................................................................................................................................................................................................................................................................................................................................................x....................................................................................................\r\n===================================================================================== FAILURES ======================================================================================\r\n_______________________________________________________________________________ TestGist.test_history _______________________________________________________________________________\r\n\r\nself = <tests.test_gists.TestGist testMethod=test_history>\r\n\r\n    def test_history(self):\r\n        hist = self.gist.history[0]\r\n        self.response('gist', 200)\r\n        self.get(hist._api)\r\n    \r\n        assert isinstance(hist, gists.history.GistHistory)\r\n        assert isinstance(hist.get_gist(), gists.Gist)\r\n>       self.mock_assertions()\r\n\r\ntests/test_gists.py:24: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nself = <tests.test_gists.TestGist testMethod=test_history>\r\n\r\n    def mock_assertions(self):\r\n        assert self.request.called is True\r\n        conf = self.conf.copy()\r\n        args, kwargs = self.request.call_args\r\n>       assert self.args == args\r\nE       AssertionError: assert ('GET', 'http...287474d81bcc') == ()\r\nE         Left contains more items, first extra item: 'GET'\r\nE         Full diff:\r\nE         + ()\r\nE         - ('GET',\r\nE         -  u'https://api.github.com/gists/3813862/8d6121ba316f3d07371183e526b5287474d81bcc')\r\n\r\ntests/utils.py:57: AssertionError\r\n------------------------------------------------------------------------------- Captured stderr setup -------------------------------------------------------------------------------\r\n1 failed, 786 passed, 4 xfailed, 2 xpassed in 38.75 seconds\r\nERROR: InvocationError: '/Users/ue/Desktop/Projects/github3.py/.tox/py27/bin/py.test'\r\npy34 inst-nodeps: /Users/ue/Desktop/Projects/github3.py/.tox/dist/github3.py-1.0.0a2.zip\r\npy34 installed: betamax==0.5.1,betamax-matchers==0.2.0,github3.py==1.0.0a2,mock==1.0.1,py==1.4.30,pytest==2.8.2,requests==2.8.1,requests-toolbelt==0.4.0,uritemplate.py==0.3.0,wheel==0.24.0\r\npy34 runtests: PYTHONHASHSEED='1592419802'\r\npy34 runtests: commands[0] | py.test\r\n.............XF..........................................................................................................................x....x..................x.....................................................................................................X............................................................................................................................................................................................................................................................................................................................................................................................................................................x....................................................................................................\r\n===================================================================================== FAILURES ======================================================================================\r\n_______________________________________________________________________________ TestGist.test_history _______________________________________________________________________________\r\n\r\nself = <tests.test_gists.TestGist testMethod=test_history>\r\n\r\n    def test_history(self):\r\n        hist = self.gist.history[0]\r\n        self.response('gist', 200)\r\n        self.get(hist._api)\r\n    \r\n        assert isinstance(hist, gists.history.GistHistory)\r\n        assert isinstance(hist.get_gist(), gists.Gist)\r\n>       self.mock_assertions()\r\n\r\ntests/test_gists.py:24: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nself = <tests.test_gists.TestGist testMethod=test_history>\r\n\r\n    def mock_assertions(self):\r\n        assert self.request.called is True\r\n        conf = self.conf.copy()\r\n        args, kwargs = self.request.call_args\r\n>       assert self.args == args\r\nE       AssertionError: assert ('GET', 'http...287474d81bcc') == ()\r\nE         Left contains more items, first extra item: 'GET'\r\nE         Full diff:\r\nE         + ()\r\nE         - ('GET',\r\nE         -  'https://api.github.com/gists/3813862/8d6121ba316f3d07371183e526b5287474d81bcc')\r\n\r\ntests/utils.py:57: AssertionError\r\n1 failed, 786 passed, 4 xfailed, 2 xpassed in 35.15 seconds\r\nERROR: InvocationError: '/Users/ue/Desktop/Projects/github3.py/.tox/py34/bin/py.test'\r\n______________________________________________________________________________________ summary ______________________________________________________________________________________\r\nERROR:   py27: commands failed\r\nERROR:   py34: commands failed\r\n\r\nI know tests are being migrated from tests/ to tests/unit and tests/integration (worked on by @itsmemattchung ) so i want to make sure can i ignore this error as long as tests under tests/unit and tests/integration are passing?\r\n"},"comment":{"url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/comments/158073219","html_url":"https://github.com/sigmavirus24/github3.py/issues/485#issuecomment-158073219","issue_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/485","id":158073219,"user":{"login":"sigmavirus24","id":240830,"avatar_url":"https://avatars.githubusercontent.com/u/240830?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmavirus24","html_url":"https://github.com/sigmavirus24","followers_url":"https://api.github.com/users/sigmavirus24/followers","following_url":"https://api.github.com/users/sigmavirus24/following{/other_user}","gists_url":"https://api.github.com/users/sigmavirus24/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmavirus24/subscriptions","organizations_url":"https://api.github.com/users/sigmavirus24/orgs","repos_url":"https://api.github.com/users/sigmavirus24/repos","events_url":"https://api.github.com/users/sigmavirus24/events{/privacy}","received_events_url":"https://api.github.com/users/sigmavirus24/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T14:29:53Z","updated_at":"2015-11-19T14:29:53Z","body":"If you look at the [build history](https://travis-ci.org/sigmavirus24/github3.py/builds) on Travis, you'll see that [the latest build](https://travis-ci.org/sigmavirus24/github3.py/builds/91974603) is passing without an issue. As did [this build](https://travis-ci.org/sigmavirus24/github3.py/builds/91730333) that resulted from the merge of one of your recent pull requests."}}