Fix tests
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import pytest
|
||||
import capnp
|
||||
from capnp import _capnp
|
||||
import os
|
||||
|
||||
this_dir = os.path.dirname(__file__)
|
||||
@@ -18,7 +17,3 @@ def test_constants(addressbook):
|
||||
def test_classes(addressbook):
|
||||
assert addressbook.AddressBook
|
||||
assert addressbook.Person
|
||||
|
||||
def test_schemas(addressbook):
|
||||
assert type(addressbook.AddressBook.schema) is _capnp._StructSchema
|
||||
assert type(addressbook.Person.schema) is _capnp._StructSchema
|
||||
|
||||
Reference in New Issue
Block a user