armi.bookkeeping.db.tests.test_database3 module
Tests for the Database3 class.
- class armi.bookkeeping.db.tests.test_database3.TestDatabase3(methodName='runTest')[source]
Bases:
TestCase
Tests for the Database3 class that require a large, complicated reactor.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- class armi.bookkeeping.db.tests.test_database3.TestDatabase3Smaller(methodName='runTest')[source]
Bases:
TestCase
Tests for the Database3 class, that can use a smaller test reactor.
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.
- test_getH5File()[source]
Get the h5 file for the database, because that file format is language-agnostic.
- test_replaceNones()[source]
Super basic test that we handle Nones correctly in database read/writes.
- test_grabLocalCommitHash()[source]
Test of static method to grab a local commit hash with ARMI version.