glance/glance/tests/unit
Lucian Petrut 5759ec0b1c glance Windows support
This change will allow glance services to run on Windows, using
eventlet wsgi for API services.

This change will:
* avoid monkey patching the os module on Windows (which causes Popen
  to fail)
* avoiding unavailable signals
* avoid renaming in-use files or leaking handles
* update the check that ensures that just one scrubber process may
  run at a time. We can't rely on process names as there might be
  wrapper processes that have similar names (no she-bangs on Windows,
  so the scripts are called a bit differently). We'll use a global
  named mutex instead.

A subsequent change will leverage Windows job objects as a
replacement for process groups, also avoiding forking when spawning
workers.

At the moment, some Glance tests cannot run on Windows, which is
also covered by subsequent patches.

DocImpact

blueprint windows-support

Change-Id: I3bca69638685ceb11a1a316511ad9a298c630ad5
2019-03-13 16:41:11 +02:00
..
api Merge "Handle StopIteration for Py3.7 PEP 0479" 2018-10-08 08:36:07 +00:00
async_ glance Windows support 2019-03-13 16:41:11 +02:00
common Merge "Use WebOb 1.8.1" 2018-10-09 08:51:42 +00:00
image_cache Handle file delete races in image cache 2017-07-10 11:37:55 -05:00
v2 Embed validation data in locations 2018-11-09 20:35:23 +00:00
__init__.py Empty files shouldn't contain copyright nor license 2013-12-24 22:39:05 -06:00
base.py Remove moxstubout usage 2018-10-28 10:16:34 -04:00
fake_rados.py Fixes rbd _delete_image snapshot with missing image 2013-10-07 23:15:49 +01:00
fixtures.py Add fixture to limit unit test log output 2018-04-09 21:17:54 +00:00
test_auth.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00
test_cache_middleware.py Remove Images API v1 entry points 2018-07-13 10:21:49 +01:00
test_cached_images.py Improved coverage for glance.api.* 2014-06-15 17:44:09 +00:00
test_context.py Use new oslo.context arg names 2017-11-27 10:20:10 -06:00
test_context_middleware.py Support Unicode request_id on Python 3 2015-11-27 15:44:54 +01:00
test_data_migration_framework.py Modify glance manage db sync to use EMC 2018-02-05 17:00:57 +05:30
test_data_migration_version.py Add test for data migration version 2019-01-24 11:38:50 -05:00
test_db.py Pending-delete rollback ability 2018-04-19 11:03:59 +08:00
test_db_metadef.py Don't use slashes for long lines - use parentheses instead 2015-08-16 07:21:13 +00:00
test_domain.py Rename async package to async_ 2018-08-07 14:42:14 -04:00
test_domain_proxy.py Fix for Image members not generating notifications 2016-01-25 04:50:58 -08:00
test_glance_manage.py Provide user friendly message for FK failure 2017-04-05 15:56:32 +05:30
test_glance_replicator.py Add fixture to only emit DeprecationWarning once 2017-12-12 15:49:04 +00:00
test_image_cache.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00
test_manage.py Support RFC1738 quoted chars in passwords 2018-08-13 14:44:32 +10:00
test_misc.py Port v1.test_registry_api to Python 3 2015-10-22 22:53:05 +02:00
test_notifier.py Rename async package to async_ 2018-08-07 14:42:14 -04:00
test_policy.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00
test_quota.py Make QuotaImageTagsProxy deep-copyable 2018-12-18 21:16:19 +00:00
test_schema.py Fix assertEqual arguments order 2014-09-19 00:25:18 +08:00
test_scrubber.py Pending-delete rollback ability 2018-04-19 11:03:59 +08:00
test_store_image.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00
test_store_location.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00
test_versions.py Add API version 2.8 2018-08-07 16:39:06 +01:00
utils.py Multihash implementation for Glance 2018-07-31 21:28:38 -04:00