{"action":"created","issue":{"url":"https://api.github.com/repos/Joesalmon1985/PandemicBoardGame/issues/19","repository_url":"https://api.github.com/repos/Joesalmon1985/PandemicBoardGame","labels_url":"https://api.github.com/repos/Joesalmon1985/PandemicBoardGame/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/Joesalmon1985/PandemicBoardGame/issues/19/comments","events_url":"https://api.github.com/repos/Joesalmon1985/PandemicBoardGame/issues/19/events","html_url":"https://github.com/Joesalmon1985/PandemicBoardGame/issues/19","id":172799833,"number":19,"title":"Tests give errors when a larger file is used","user":{"login":"Joesalmon1985","id":10116878,"avatar_url":"https://avatars.githubusercontent.com/u/10116878?v=3","gravatar_id":"","url":"https://api.github.com/users/Joesalmon1985","html_url":"https://github.com/Joesalmon1985","followers_url":"https://api.github.com/users/Joesalmon1985/followers","following_url":"https://api.github.com/users/Joesalmon1985/following{/other_user}","gists_url":"https://api.github.com/users/Joesalmon1985/gists{/gist_id}","starred_url":"https://api.github.com/users/Joesalmon1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joesalmon1985/subscriptions","organizations_url":"https://api.github.com/users/Joesalmon1985/orgs","repos_url":"https://api.github.com/users/Joesalmon1985/repos","events_url":"https://api.github.com/users/Joesalmon1985/events{/privacy}","received_events_url":"https://api.github.com/users/Joesalmon1985/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-23T20:34:32Z","updated_at":"2016-08-23T20:57:17Z","closed_at":"2016-08-23T20:57:16Z","body":"When I run\r\n\r\npython -m unittest -v t_makeboard\r\n\r\nIf I am using the data found in safetestboard.txt everything works fine (bar one fail on testing epTBL)\r\n\r\n======================================================================\r\nFAIL: test_setup_epTBL (t_makeboard.T)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"t_makeboard.py\", line 229, in test_setup_epTBL\r\n    self.assertNotEqual(answerX,None,'The table for the epidemic cards has no name column.')\r\nAssertionError: The table for the epidemic cards has no name column.\r\n\r\n----------------------------------------------------------------------\r\nRan 14 tests in 10.654s\r\n\r\nFAILED (failures=1)\r\n\r\nHowever, if I switch to the bigger data found in bigtestboard.txt, and stick this in the testboard.txt I get error messages.\r\n\r\n======================================================================\r\nERROR: test_setup_BoardTBL (t_makeboard.T)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"t_makeboard.py\", line 11, in test_setup_BoardTBL\r\n    sg.BoardTBL ('testboard.txt')\r\n  File \"makeboard.py\", line 59, in BoardTBL\r\n    cursor.execute( tobedone )\r\nOperationalError: no such column: ‘b’\r\n\r\n======================================================================\r\nERROR: test_setup_idTBL (t_makeboard.T)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"t_makeboard.py\", line 68, in test_setup_idTBL\r\n    answer0 = answerX [0]\r\nTypeError: 'NoneType' object has no attribute '__getitem__'\r\n\r\n======================================================================\r\nERROR: test_setup_pdTBL (t_makeboard.T)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"t_makeboard.py\", line 43, in test_setup_pdTBL\r\n    answer0 = answerX [0]\r\nTypeError: 'NoneType' object has no attribute '__getitem__'\r\n\r\n======================================================================\r\nERROR: test_setup_player1TBL (t_makeboard.T)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"t_makeboard.py\", line 201, in test_setup_player1TBL\r\n    sg.BoardTBL ('testboard.txt')\r\n  File \"makeboard.py\", line 59, in BoardTBL\r\n    cursor.execute( tobedone )\r\nOperationalError: no such column: ‘b’\r\n\r\n======================================================================\r\nERROR: test_setup_player2TBL (t_makeboard.T)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"t_makeboard.py\", line 135, in test_setup_player2TBL\r\n    sg.BoardTBL ('testboard.txt')\r\n  File \"makeboard.py\", line 59, in BoardTBL\r\n    cursor.execute( tobedone )\r\nOperationalError: no such column: ‘b’\r\n\r\n======================================================================\r\nERROR: test_setup_player3TBL (t_makeboard.T)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"t_makeboard.py\", line 158, in test_setup_player3TBL\r\n    sg.BoardTBL ('testboard.txt')\r\n  File \"makeboard.py\", line 59, in BoardTBL\r\n    cursor.execute( tobedone )\r\nOperationalError: no such column: ‘b’\r\n\r\n======================================================================\r\nERROR: test_setup_player4TBL (t_makeboard.T)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"t_makeboard.py\", line 179, in test_setup_player4TBL\r\n    sg.BoardTBL ('testboard.txt')\r\n  File \"makeboard.py\", line 59, in BoardTBL\r\n    cursor.execute( tobedone )\r\nOperationalError: no such column: ‘b’\r\n\r\n======================================================================\r\nERROR: test_setup_shuf (t_makeboard.T)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"t_makeboard.py\", line 235, in test_setup_shuf\r\n    sg.BoardTBL ('testboard.txt')\r\n  File \"makeboard.py\", line 59, in BoardTBL\r\n    cursor.execute( tobedone )\r\nOperationalError: no such column: ‘b’\r\n\r\n======================================================================\r\nFAIL: test_setup_epTBL (t_makeboard.T)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"t_makeboard.py\", line 229, in test_setup_epTBL\r\n    self.assertNotEqual(answerX,None,'The table for the epidemic cards has no name column.')\r\nAssertionError: The table for the epidemic cards has no name column.\r\n\r\n----------------------------------------------------------------------\r\nRan 14 tests in 2.829s\r\n\r\nFAILED (failures=1, errors=8)\r\n\r\nAny ideas why I'm getting these problems?"},"comment":{"url":"https://api.github.com/repos/Joesalmon1985/PandemicBoardGame/issues/comments/241875991","html_url":"https://github.com/Joesalmon1985/PandemicBoardGame/issues/19#issuecomment-241875991","issue_url":"https://api.github.com/repos/Joesalmon1985/PandemicBoardGame/issues/19","id":241875991,"user":{"login":"Joesalmon1985","id":10116878,"avatar_url":"https://avatars.githubusercontent.com/u/10116878?v=3","gravatar_id":"","url":"https://api.github.com/users/Joesalmon1985","html_url":"https://github.com/Joesalmon1985","followers_url":"https://api.github.com/users/Joesalmon1985/followers","following_url":"https://api.github.com/users/Joesalmon1985/following{/other_user}","gists_url":"https://api.github.com/users/Joesalmon1985/gists{/gist_id}","starred_url":"https://api.github.com/users/Joesalmon1985/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joesalmon1985/subscriptions","organizations_url":"https://api.github.com/users/Joesalmon1985/orgs","repos_url":"https://api.github.com/users/Joesalmon1985/repos","events_url":"https://api.github.com/users/Joesalmon1985/events{/privacy}","received_events_url":"https://api.github.com/users/Joesalmon1985/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T20:57:16Z","updated_at":"2016-08-23T20:57:16Z","body":"Fixed it. Formatting error. I'm an idiot"}}
{"actor":{"display_login":"Joesalmon1985"}}