{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/7640","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/7640/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/7640/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/7640/events","html_url":"https://github.com/dimagi/commcare-hq/issues/7640","id":97469574,"number":7640,"title":"Tests failing locally","user":{"login":"millerdev","id":464726,"avatar_url":"https://avatars.githubusercontent.com/u/464726?v=3","gravatar_id":"","url":"https://api.github.com/users/millerdev","html_url":"https://github.com/millerdev","followers_url":"https://api.github.com/users/millerdev/followers","following_url":"https://api.github.com/users/millerdev/following{/other_user}","gists_url":"https://api.github.com/users/millerdev/gists{/gist_id}","starred_url":"https://api.github.com/users/millerdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/millerdev/subscriptions","organizations_url":"https://api.github.com/users/millerdev/orgs","repos_url":"https://api.github.com/users/millerdev/repos","events_url":"https://api.github.com/users/millerdev/events{/privacy}","received_events_url":"https://api.github.com/users/millerdev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-27T13:57:40Z","updated_at":"2015-07-29T04:46:24Z","closed_at":null,"body":"I'm seeing test failures on master. First I went through this routine to make sure I was up to date:\r\n\r\n```sh\r\n$ pull-code\r\n$ find . -name '*.pyc' -delete\r\n$ pip install -r requirements/requirements.txt\r\n$ pip install -r requirements/dev-requirements.txt\r\n$ ./manage.py syncdb\r\n$ ./manage.py migrate\r\n```\r\nWorked around various errors in that process, but eventually got the issues sorted.\r\n\r\nHere's an example of a failing test:\r\n```\r\n$ ./manage.py test auditcare --failfast\r\n...\r\n======================================================================\r\nERROR: testModelEventChanges (auditcare.tests.modelevents.ModelEventTestCase)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"./submodules/auditcare-src/auditcare/tests/modelevents.py\", line 18, in setUp\r\n    self._createUser()\r\n  File \"./submodules/auditcare-src/auditcare/tests/modelevents.py\", line 37, in _createUser\r\n    self.assertEqual(model_count+1, model_count2)\r\nAssertionError: 1 != 0\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/125838647","html_url":"https://github.com/dimagi/commcare-hq/issues/7640#issuecomment-125838647","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/7640","id":125838647,"user":{"login":"benrudolph","id":918514,"avatar_url":"https://avatars.githubusercontent.com/u/918514?v=3","gravatar_id":"","url":"https://api.github.com/users/benrudolph","html_url":"https://github.com/benrudolph","followers_url":"https://api.github.com/users/benrudolph/followers","following_url":"https://api.github.com/users/benrudolph/following{/other_user}","gists_url":"https://api.github.com/users/benrudolph/gists{/gist_id}","starred_url":"https://api.github.com/users/benrudolph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benrudolph/subscriptions","organizations_url":"https://api.github.com/users/benrudolph/orgs","repos_url":"https://api.github.com/users/benrudolph/repos","events_url":"https://api.github.com/users/benrudolph/events{/privacy}","received_events_url":"https://api.github.com/users/benrudolph/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T04:46:24Z","updated_at":"2015-07-29T04:46:24Z","body":"The `Document Conflict Errors` are weird haven't seen those ever. do you get those when you run the whole test suite at once? Are you just running `./manage test`?"}}