コード例 #1
0
 def test_updating(self, keywords):
     no_overlap_keyword('test')
コード例 #2
0
 def test_new_bad_special(self):
     with pytest.raises(ValidationError):
         no_overlap_keyword('name')
コード例 #3
0
 def test_stop(self):
     with pytest.raises(ValidationError):
         no_overlap_keyword('stop')
コード例 #4
0
 def test_new_ok(self, keywords):
     no_overlap_keyword('new_keyword')
コード例 #5
0
 def test_new_bad(self, keywords):
     with pytest.raises(ValidationError):
         no_overlap_keyword('test_keyword')
コード例 #6
0
ファイル: test_validators.py プロジェクト: nikolay/apostello
 def test_updating(self, keywords):
     no_overlap_keyword('test')
コード例 #7
0
ファイル: test_validators.py プロジェクト: nikolay/apostello
 def test_stop(self):
     with pytest.raises(ValidationError):
         no_overlap_keyword('stop')
コード例 #8
0
ファイル: test_validators.py プロジェクト: nikolay/apostello
 def test_new_bad_special(self):
     with pytest.raises(ValidationError):
         no_overlap_keyword('name')
コード例 #9
0
ファイル: test_validators.py プロジェクト: nikolay/apostello
 def test_new_bad(self, keywords):
     with pytest.raises(ValidationError):
         no_overlap_keyword('test_keyword')
コード例 #10
0
ファイル: test_validators.py プロジェクト: nikolay/apostello
 def test_new_ok(self, keywords):
     no_overlap_keyword('new_keyword')