Skip to content

Commit 7cd448a

Browse files
committed
updated tests
1 parent f575abb commit 7cd448a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/integration/test_ontology.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# import unittest
21
import pytest
32
from typing import Any, Dict, List, Union
43
from labelbox import LabelingFrontend
54

6-
#want to import ontology_generator.py properly, not the bad way we are currently doing
75
from labelbox.schema.ontology_generator import Ontology, Tool, Classification, Option, InconsistentOntologyException
86

97
def sample_ontology() -> Dict[str, Any]:
@@ -35,7 +33,6 @@ def sample_ontology() -> Dict[str, Any]:
3533
}
3634

3735
#test asdict
38-
#test ontology.asdict
3936
#test nested classifications
4037
"""
4138
Tool tests
@@ -187,9 +184,6 @@ def test_from_project_ontology(client, project) -> None:
187184
assert ontology.classifications[0].options[0].label.lower() == "yes"
188185
for option in ontology.classifications[0].options:
189186
assert type(option) == Option
190-
191-
# def test_ontology_asdict() -> None:
192-
# o = Ontology()
193187

194188

195189

0 commit comments

Comments
 (0)