'Test get_included_databases.'

def test_get_included_databases(self):

    nc_requires_list_databases = (NamespaceConfig(), NamespaceConfig(namespace_options={'db.c': False}), NamespaceConfig(namespace_options={'db*.c': True}))
    for namespace_config in nc_requires_list_databases:
        self.assertEqual(namespace_config.get_included_databases(), [])
    namespace_config = NamespaceConfig(namespace_options={'db.c': True})
    self.assertEqual(namespace_config.get_included_databases(), ['db'])
    namespace_config = NamespaceConfig(namespace_options={'db.*': True})
    self.assertEqual(namespace_config.get_included_databases(), ['db'])
