Rename AuDaGeFrame "type" column to "datatype".
This commit is contained in:
@@ -6,15 +6,15 @@ from AuDaGe.frame import AuDaGeFrame
|
||||
class TestAuDaGeFrame(unittest.TestCase):
|
||||
def test_init(self):
|
||||
valid_af = {
|
||||
"name": ["a", "b", "c"],
|
||||
"type": ["d", "e", "f"],
|
||||
"tagname": ["a", "b", "c"],
|
||||
"datatype": ["d", "e", "f"],
|
||||
"address": [1, 2, 3],
|
||||
"comment": ["g", "h", "i"],
|
||||
}
|
||||
self.assertTrue(AuDaGeFrame(valid_af).is_valid())
|
||||
invalid_af = {
|
||||
"name": ["a", "b", "c"],
|
||||
# "type": ["d", "e", "f"],
|
||||
"tagname": ["a", "b", "c"],
|
||||
# "datatype": ["d", "e", "f"],
|
||||
"address": [1, 2, 3],
|
||||
"comment": ["g", "h", "i"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user