コード例 #1
0
 def test_next_model(self):
     schema_ref = SchemaRef("example", "1-0-0")
     assert schema_ref.next_model() == SchemaRef("example", "2-0-0")
コード例 #2
0
ファイル: test_schemas.py プロジェクト: pombredanne/worker
 def test_next_model(self):
     """Tests for the method SchemaRef.next_model."""
     schema_ref = SchemaRef("example", "1-0-0")
     assert schema_ref.next_model() == SchemaRef("example", "2-0-0")