test_xref_update
python.tests.xrefs.test_xref_update
¶
Unit testing of ensembl.xrefs.xref_update_db_model
module.
TestCoreModels
¶
Tests the ensembl.xrefs.xref_update_db_model
ORMs
Source code in src/python/tests/xrefs/test_xref_update.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
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/xrefs/test_xref_update.py
28 29 30 31 32 33 34 35 |
|
test_create_db()
¶
Test the creation of a database with the xref_update models schema.
Source code in src/python/tests/xrefs/test_xref_update.py
37 38 39 40 |
|