{"action":"reopened","issue":{"url":"https://api.github.com/repos/sih4sing5hong5/tai5-uan5_gian5-gi2_phing5-tai5/issues/186","repository_url":"https://api.github.com/repos/sih4sing5hong5/tai5-uan5_gian5-gi2_phing5-tai5","labels_url":"https://api.github.com/repos/sih4sing5hong5/tai5-uan5_gian5-gi2_phing5-tai5/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/sih4sing5hong5/tai5-uan5_gian5-gi2_phing5-tai5/issues/186/comments","events_url":"https://api.github.com/repos/sih4sing5hong5/tai5-uan5_gian5-gi2_phing5-tai5/issues/186/events","html_url":"https://github.com/sih4sing5hong5/tai5-uan5_gian5-gi2_phing5-tai5/issues/186","id":192451634,"number":186,"title":"Testing Code test揣外語的其他建議試驗.py 疑問","user":{"login":"aweimeow","id":5120010,"avatar_url":"https://avatars.githubusercontent.com/u/5120010?v=3","gravatar_id":"","url":"https://api.github.com/users/aweimeow","html_url":"https://github.com/aweimeow","followers_url":"https://api.github.com/users/aweimeow/followers","following_url":"https://api.github.com/users/aweimeow/following{/other_user}","gists_url":"https://api.github.com/users/aweimeow/gists{/gist_id}","starred_url":"https://api.github.com/users/aweimeow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aweimeow/subscriptions","organizations_url":"https://api.github.com/users/aweimeow/orgs","repos_url":"https://api.github.com/users/aweimeow/repos","events_url":"https://api.github.com/users/aweimeow/events{/privacy}","received_events_url":"https://api.github.com/users/aweimeow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-30T01:36:03Z","updated_at":"2016-12-01T00:42:21Z","closed_at":null,"body":"Link: [test揣外語的其他建議試驗#127](https://github.com/sih4sing5hong5/tai5-uan5_gian5-gi2_phing5-tai5/pull/181/files#diff-7b4e9d873a6fc86c7551b76ead04cbf8R127)\r\n\r\n```python\r\n    def test_先加入就排頭前(self):\r\n        水母編號 = self.資料庫加外語('水母')\r\n        䖳文本 = 平臺項目表.外語翻母語(水母編號, {\r\n            '文本資料': '䖳',\r\n        })\r\n        䖳文本.設為推薦用字()\r\n        水母文本 = 平臺項目表.外語翻母語(水母編號, {\r\n            '文本資料': '水母',\r\n        })\r\n        水母文本.設為推薦用字()\r\n        一九文本 = 平臺項目表.外語翻母語(水母編號, {\r\n            '文本資料': '一九',\r\n        })\r\n        小刀文本 = 平臺項目表._校對母語文本(一九文本.編號(), {\r\n            '文本資料': '小刀',\r\n        })\r\n        小刀文本.設為推薦用字()\r\n#         前端輸入\r\n        回應 = self.client.get('/平臺項目列表/揣列表', {\r\n            '關鍵字': '水'\r\n        })\r\n#         前端回傳結果\r\n        self.assertEqual(回應.status_code, 200)\r\n        回應資料 = 回應.json()\r\n        print(回應資料)\r\n        self.assertEqual(回應資料['其他建議'][0]['文本資料'], '䖳')\r\n        self.assertEqual(回應資料['其他建議'][1]['文本資料'], '一九')\r\n        self.assertEqual(回應資料['其他建議'][2]['文本資料'], '水母')\r\n```\r\n\r\n我覺得 `一九` 沒有被設定成推薦用字，所以不應該出現在回應資料，這邊應該是筆誤\r\n```\r\nreplace: 䖳、一九、水母 > 䖳、水母、小刀\r\n```\r\n\r\n所以我就先改了～！\r\n@sih4sing5hong5 請你幫我看看是不是我的理解有誤，如果有誤的話我再修正回來，謝謝！"}}
{"actor":{"display_login":"aweimeow"}}