def METHOD_NAME(self):
    db = nssdb.NSSDatabase(self.tmpdir, password_file=self.password_file)
    self.assertEqual(db.get_dbtype(), None)
    self.create_db('sql')
    self.assertSQLFiles()
    self.assertNotDBMFiles()
    self.assertEqual(db.get_dbtype(), 'sql')