{"action":"created","issue":{"url":"https://api.github.com/repos/eressea/server/issues/108","labels_url":"https://api.github.com/repos/eressea/server/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/eressea/server/issues/108/comments","events_url":"https://api.github.com/repos/eressea/server/issues/108/events","html_url":"https://github.com/eressea/server/pull/108","id":54184527,"number":108,"title":"Gebäudekapazität nutzt das Gewicht der Personen","user":{"login":"CTD1","id":6805147,"avatar_url":"https://avatars.githubusercontent.com/u/6805147?v=3","gravatar_id":"","url":"https://api.github.com/users/CTD1","html_url":"https://github.com/CTD1","followers_url":"https://api.github.com/users/CTD1/followers","following_url":"https://api.github.com/users/CTD1/following{/other_user}","gists_url":"https://api.github.com/users/CTD1/gists{/gist_id}","starred_url":"https://api.github.com/users/CTD1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CTD1/subscriptions","organizations_url":"https://api.github.com/users/CTD1/orgs","repos_url":"https://api.github.com/users/CTD1/repos","events_url":"https://api.github.com/users/CTD1/events{/privacy}","received_events_url":"https://api.github.com/users/CTD1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-13T12:06:21Z","updated_at":"2015-01-15T08:47:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eressea/server/pulls/108","html_url":"https://github.com/eressea/server/pull/108","diff_url":"https://github.com/eressea/server/pull/108.diff","patch_url":"https://github.com/eressea/server/pull/108.patch"},"body":"Statt einfach nur die Anzahl um den Platz in einer Burg während eines\r\nKampfes zu berechnen.\r\nFür E3+E4 aktiviert und die Kapazität auf 4 gesetzt.\r\nIn eine 6er Burg passen also 12 Trolle oder 24 Menschen oder 40 Goblins."},"comment":{"url":"https://api.github.com/repos/eressea/server/issues/comments/70055638","html_url":"https://github.com/eressea/server/pull/108#issuecomment-70055638","issue_url":"https://api.github.com/repos/eressea/server/issues/108","id":70055638,"user":{"login":"CTD1","id":6805147,"avatar_url":"https://avatars.githubusercontent.com/u/6805147?v=3","gravatar_id":"","url":"https://api.github.com/users/CTD1","html_url":"https://github.com/CTD1","followers_url":"https://api.github.com/users/CTD1/followers","following_url":"https://api.github.com/users/CTD1/following{/other_user}","gists_url":"https://api.github.com/users/CTD1/gists{/gist_id}","starred_url":"https://api.github.com/users/CTD1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CTD1/subscriptions","organizations_url":"https://api.github.com/users/CTD1/orgs","repos_url":"https://api.github.com/users/CTD1/repos","events_url":"https://api.github.com/users/CTD1/events{/privacy}","received_events_url":"https://api.github.com/users/CTD1/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T08:47:29Z","updated_at":"2015-01-15T08:47:29Z","body":"Ich habe noch mal geschaut ob ich das noch mal irgendwo hin bekomme, aber da in test_create_building btype const ist, kann ich das da nicht anfassen. Das zu ändern hat zu viele abhänigkeiten. Also könnte ich nur noch eine Funktion schreiben welche die werte setzt und dann test_create_building aufruft. Das erscheint mir aber nicht unbedingt die beste Lösung.\r\nIch denke für einige Tests macht es Sinn den XML-reader zu starten und zumindest die E2 oder E3 Standart-config einzulesen, oder hast du ein besser Idee? Beim Gewicht habe ich ja das selbe Problem, also wenn ich mit angeschalteter Option Testen will."}}