We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e9434b commit c12b647Copy full SHA for c12b647
tests/res/data.yml
@@ -0,0 +1,6 @@
1
+- model: tests.models.Employee
2
+ data:
3
+ name: Juan Dela Cruz
4
+- model: tests.models.Company
5
6
+ name: Carte
tests/test_loader.py
@@ -10,6 +10,6 @@ def test_load_entities_from_json(self):
10
self.assertEqual(len(entities), 6)
11
12
def test_load_entities_from_yaml(self):
13
- entities = load_entities_from_yaml('tests/res/data.yaml')
+ entities = load_entities_from_yaml('tests/res/data.yml')
14
print(entities)
15
self.assertEqual(len(entities), 2)
0 commit comments