forked from enviPath/enviPy
[Feature] Generate Compounds by Molfile (#423)
Co-authored-by: Tim Lorsbach <tim@lorsba.ch> Reviewed-on: enviPath/enviPy#423
This commit is contained in:
@ -117,25 +117,28 @@ class APIPermissionTestBase(TestCase):
|
||||
|
||||
# Create test compounds in each package
|
||||
cls.reviewed_compound = Compound.create(
|
||||
cls.reviewed_package, "C", "Reviewed Compound", "Test compound"
|
||||
cls.reviewed_package, "C", name="Reviewed Compound", description="Test compound"
|
||||
)
|
||||
cls.owned_compound = Compound.create(
|
||||
cls.unreviewed_package_owned, "CC", "Owned Compound", "Test compound"
|
||||
cls.unreviewed_package_owned, "CC", name="Owned Compound", description="Test compound"
|
||||
)
|
||||
cls.read_compound = Compound.create(
|
||||
cls.unreviewed_package_read, "CCC", "Read Compound", "Test compound"
|
||||
cls.unreviewed_package_read, "CCC", name="Read Compound", description="Test compound"
|
||||
)
|
||||
cls.write_compound = Compound.create(
|
||||
cls.unreviewed_package_write, "CCCC", "Write Compound", "Test compound"
|
||||
cls.unreviewed_package_write, "CCCC", name="Write Compound", description="Test compound"
|
||||
)
|
||||
cls.all_compound = Compound.create(
|
||||
cls.unreviewed_package_all, "CCCCC", "All Compound", "Test compound"
|
||||
cls.unreviewed_package_all, "CCCCC", name="All Compound", description="Test compound"
|
||||
)
|
||||
cls.no_access_compound = Compound.create(
|
||||
cls.unreviewed_package_no_access, "CCCCCC", "No Access Compound", "Test compound"
|
||||
cls.unreviewed_package_no_access,
|
||||
"CCCCCC",
|
||||
name="No Access Compound",
|
||||
description="Test compound",
|
||||
)
|
||||
cls.group_compound = Compound.create(
|
||||
cls.group_package, "CCCCCCC", "Group Compound", "Test compound"
|
||||
cls.group_package, "CCCCCCC", name="Group Compound", description="Test compound"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user