test_core
python.tests.core.test_core
¶
Unit testing of ensembl.core.models
module.
TestCoreModels
¶
Tests the ~ensembl.core.models
ORMs
Source code in src/python/tests/core/test_core.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
|
dbc: UnitTestDB = None
class-attribute
instance-attribute
¶
setup(test_dbs)
¶
Loads the required fixtures and values as class attributes.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
test_dbs |
dict[str, UnitTestDB]
|
Generator of unit test databases (fixture). |
required |
Source code in src/python/tests/core/test_core.py
29 30 31 32 33 34 35 36 |
|
test_create_db()
¶
Test the creation of a database with the core models schema.
Source code in src/python/tests/core/test_core.py
38 39 40 41 |
|