ironic-inspector/ironic_inspector/test/unit
Javier Pena 01b83595d5 Fix test when running with SQLite 3.7.17 from CentOS 7
https://review.openstack.org/348943 introduced a test that fails
to run in SQLite 3.7.17, because the failed constraint message in
that version differs from the one expected: "CHECK constraint failed"
is expected, but "(sqlite3.IntegrityError) constraint failed" is
received.

Fixing this by setting the regexp to an error message that matches
in both versions.

Change-Id: I4b09eb4c3804fb9279a5acb3c1409def739e28c3
2016-12-16 11:31:23 +01:00
..
__init__.py Move unit tests to "unit" directory 2016-04-05 11:15:29 +03:00
test_api_tools.py Add API for listing all introspection statuses 2016-11-21 15:58:24 +01:00
test_common_ironic.py Fix order of arguments in assertEqual 2016-08-17 18:10:44 +07:00
test_firewall.py Introducing node introspection state management 2016-12-15 00:20:27 +01:00
test_introspect.py Introducing node introspection state management 2016-12-15 00:20:27 +01:00
test_keystone.py TrivialFix: Remove cfg import unused 2016-09-06 14:24:06 +07:00
test_main.py Add API for listing all introspection statuses 2016-11-21 15:58:24 +01:00
test_migrations.py Introducing node introspection state management 2016-12-15 00:20:27 +01:00
test_node_cache.py Fix test when running with SQLite 3.7.17 from CentOS 7 2016-12-16 11:31:23 +01:00
test_plugins_base.py Replace assertRaisesRegexp with assertRaisesRegex 2016-09-05 08:57:47 -04:00
test_plugins_capabilities.py Add a plugin for capabilities detection 2016-06-06 13:18:09 +00:00
test_plugins_discovery.py Move unit tests to "unit" directory 2016-04-05 11:15:29 +03:00
test_plugins_extra_hardware.py Changed an assert to more specific assert method 2016-08-30 08:07:31 +07:00
test_plugins_local_link_connection.py LLC Hook: Do not assume interfaces are added to Ironic 2016-09-30 16:39:41 +01:00
test_plugins_pci_devices.py Use assertEqual() instead of assertDictEqual() 2016-09-26 11:07:27 +07:00
test_plugins_raid_device.py Remove deprecated alias "root_device_hint" for "raid_device" hook 2016-06-06 19:07:24 +02:00
test_plugins_rules.py Replace assertRaisesRegexp with assertRaisesRegex 2016-09-05 08:57:47 -04:00
test_plugins_standard.py Introducing node introspection state management 2016-12-15 00:20:27 +01:00
test_process.py Merge "Use oslo_serialization.base64 to follow OpenStack Python3" 2016-12-15 17:47:20 +00:00
test_rules.py Replace assertRaisesRegexp with assertRaisesRegex 2016-09-05 08:57:47 -04:00
test_swift.py Move unit tests to "unit" directory 2016-04-05 11:15:29 +03:00
test_utils.py Introducing node introspection state management 2016-12-15 00:20:27 +01:00