-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtest_term.py
45 lines (28 loc) · 1.19 KB
/
test_term.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# coding: utf-8
import datetime
import unittest
import fastobo
from .common import (
_TestFrame,
_TestIsObsoleteClause,
_TestDefClause,
_TestConsiderClause,
_TestCreationDateClause,
)
# --- TermFrame --------------------------------------------------------------
class TestTermFrame(_TestFrame, unittest.TestCase):
Frame = fastobo.term.TermFrame
NameClause = fastobo.term.NameClause
CreatedByClause = fastobo.term.CreatedByClause
# --- DefClause --------------------------------------------------------------
class TestDefClause(_TestDefClause, unittest.TestCase):
type = fastobo.term.DefClause
# --- ConsiderClause ---------------------------------------------------------
class TestConsiderClause(_TestConsiderClause, unittest.TestCase):
type = fastobo.term.ConsiderClause
# --- IsObsoleteClause -------------------------------------------------------
class TestIsObsoleteClause(_TestIsObsoleteClause, unittest.TestCase):
type = fastobo.term.IsObsoleteClause
# --- CreationDateClause -----------------------------------------------------
class TestCreationDateClause(_TestCreationDateClause, unittest.TestCase):
type = fastobo.term.CreationDateClause