コード例 #1
0
 def test_assert_jury_should_have_users(self):
     self.assertIn('users', get_all_field_names(Jury))
コード例 #2
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_event_should_have_a_title(self):
     self.assertIn('title', get_all_field_names(Event))
コード例 #3
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_event_should_allow_public_voting(self):
     self.assertIn('allow_public_voting', get_all_field_names(Event))
コード例 #4
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_proposal_should_have_a_publish_flag(self):
     self.assertIn('is_published', get_all_field_names(Proposal))
コード例 #5
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_vote_should_have_a_proposal(self):
     self.assertIn('proposal', get_all_field_names(Vote))
コード例 #6
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_proposal_should_have_a_title(self):
     self.assertIn('title', get_all_field_names(Proposal))
コード例 #7
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_proposal_should_have_a_author(self):
     self.assertIn('author', get_all_field_names(Proposal))
コード例 #8
0
 def test_assert_proposal_should_have_a_event(self):
     self.assertIn('event', get_all_field_names(Proposal))
コード例 #9
0
 def test_assert_proposal_should_have_a_publish_flag(self):
     self.assertIn('is_published', get_all_field_names(Proposal))
コード例 #10
0
 def test_assert_proposal_should_have_a_description(self):
     self.assertIn('description', get_all_field_names(Proposal))
コード例 #11
0
 def test_assert_proposal_should_have_a_author(self):
     self.assertIn('author', get_all_field_names(Proposal))
コード例 #12
0
 def test_assert_proposal_should_have_a_title(self):
     self.assertIn('title', get_all_field_names(Proposal))
コード例 #13
0
 def test_assert_event_should_have_a_jury(self):
     self.assertIn('jury', get_all_field_names(Event))
コード例 #14
0
 def test_assert_event_should_have_a_publish_flag(self):
     self.assertIn('is_published', get_all_field_names(Event))
コード例 #15
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_event_should_have_a_publish_flag(self):
     self.assertIn('is_published', get_all_field_names(Event))
コード例 #16
0
 def test_assert_vote_should_have_a_rate(self):
     self.assertIn('rate', get_all_field_names(Vote))
コード例 #17
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_event_should_have_a_jury(self):
     self.assertIn('jury', get_all_field_names(Event))
コード例 #18
0
 def test_assert_vote_should_have_a_proposal(self):
     self.assertIn('proposal', get_all_field_names(Vote))
コード例 #19
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_proposal_should_have_a_description(self):
     self.assertIn('description', get_all_field_names(Proposal))
コード例 #20
0
 def test_assert_vote_should_have_a_author(self):
     self.assertIn('user', get_all_field_names(Vote))
コード例 #21
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_proposal_should_have_a_event(self):
     self.assertIn('event', get_all_field_names(Proposal))
コード例 #22
0
 def test_assert_event_should_have_a_title(self):
     self.assertIn('title', get_all_field_names(Event))
コード例 #23
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_vote_should_have_a_rate(self):
     self.assertIn('rate', get_all_field_names(Vote))
コード例 #24
0
 def test_assert_event_should_have_a_description(self):
     self.assertIn('description', get_all_field_names(Event))
コード例 #25
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_vote_should_have_a_author(self):
     self.assertIn('user', get_all_field_names(Vote))
コード例 #26
0
 def test_assert_event_should_allow_public_voting(self):
     self.assertIn('allow_public_voting', get_all_field_names(Event))
コード例 #27
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_event_should_have_a_description(self):
     self.assertIn('description', get_all_field_names(Event))
コード例 #28
0
 def test_assert_event_should_have_a_author(self):
     self.assertIn('author', get_all_field_names(Event))
コード例 #29
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_event_should_have_a_author(self):
     self.assertIn('author', get_all_field_names(Event))
コード例 #30
0
ファイル: test_unit.py プロジェクト: berinhard/speakerfight
 def test_assert_jury_should_have_users(self):
     self.assertIn('users', get_all_field_names(Jury))