murano/murano/tests/unit/dsl
Andy Botting dc89e7cf61 Fix compatibility with Python 3.10
Since testing with Python 3.10, the test
  murano.tests.unit.dsl.test_helpers.TestDSLHelpers.test_weak_ref
was failing with
  testtools.matchers._impl.MismatchError: 'weakref' != 'ReferenceType'

This is simply the result of newer Python being more correct about
the name of the weakref ReferenceType.

The fix here is to ask what the name is of the class and use that
instead of the hardcoded 'weakref' name.

Change-Id: I26ea4750f10dedb04a07d188e57fcd391a28f870
2022-10-12 21:25:08 +11:00
..
foundation Revert "Use fnmatch from oslo.utils" 2021-08-18 14:22:44 +00:00
meta Add decryptData yaql function to murano engine 2017-07-21 13:32:13 +01:00
__init__.py Move and rename functional tests 2014-07-29 22:29:27 +04:00
test_agent.py Fix murano ci UT error 2020-08-03 01:51:33 +00:00
test_assignments.py Migration to yaql 1.0 2015-08-25 16:08:08 +03:00
test_attribute_store.py Use unittest.mock instead of third party mock 2020-04-19 23:23:41 -07:00
test_call.py Removes unnecessary utf-8 encoding 2016-12-22 10:36:26 +07:00
test_concurrency.py Bump to hacking 1.1.0 2019-07-04 11:51:47 +00:00
test_config_properties.py Package versioning 2015-09-03 12:06:42 +00:00
test_construction.py External object IDs couldn't be used in template() contracts 2017-05-19 19:19:07 +00:00
test_context_manager.py Use unittest.mock instead of third party mock 2020-04-19 23:23:41 -07:00
test_contracts.py Switch from unittest2 compat methods to Python 3.x methods 2020-07-05 19:33:17 +08:00
test_dump.py Remove six murano/dsl 2020-04-17 23:32:45 -07:00
test_engine_yaql_functions.py Use unittest.mock instead of third party mock 2020-04-19 23:23:41 -07:00
test_exceptions.py Py3 compatibility fixes 2016-03-03 13:02:45 +00:00
test_execution.py Fix order of arguments in assertEqual 2015-09-29 15:38:33 +03:00
test_extension_methods.py Extension methods were introduced to MuranoPL 2016-03-03 15:01:30 +00:00
test_find_class.py Remove six murano/dsl 2020-04-17 23:32:45 -07:00
test_gc.py Switch from unittest2 compat methods to Python 3.x methods 2020-07-05 19:33:17 +08:00
test_helpers.py Fix compatibility with Python 3.10 2022-10-12 21:25:08 +11:00
test_logger.py Use unittest.mock instead of third party mock 2020-04-19 23:23:41 -07:00
test_macros.py Makes conditional expressions consistent with yaql 1.0 2015-10-09 23:35:00 +03:00
test_meta.py Switch from unittest2 compat methods to Python 3.x methods 2020-07-05 19:33:17 +08:00
test_method_param_inheritance.py Incorrect Method param inheritance was fixed 2016-04-25 20:50:14 +00:00
test_multiple_inheritance.py Switch from unittest2 compat methods to Python 3.x methods 2020-07-05 19:33:17 +08:00
test_objects_copy_merge.py Alive objects from Objects and ObjectsCopy were merged 2016-08-29 20:39:10 +00:00
test_property_access.py New framework for contracts 2016-08-29 17:14:03 +00:00
test_property_inititialization.py Runtime properties may no longer have default value 2014-09-25 16:47:50 +04:00
test_reflection.py Operations on reflected entities 2016-02-20 01:49:39 +03:00
test_results_serializer.py Remove six murano/dsl 2020-04-17 23:32:45 -07:00
test_schema_generation.py Switch from unittest2 compat methods to Python 3.x methods 2020-07-05 19:33:17 +08:00
test_session_local_storage.py Use unittest.mock instead of third party mock 2020-04-19 23:23:41 -07:00
test_single_inheritance.py Move and rename functional tests 2014-07-29 22:29:27 +04:00
test_statics.py On-demand garbage collection 2016-09-14 03:43:09 +00:00
test_unicode.py Support for Unicode strings in MuranoPL was fixed 2015-09-15 02:21:54 +03:00
test_varkwargs.py Removes unnecessary utf-8 encoding 2016-12-22 10:36:26 +07:00
test_versioning.py Use unittest.mock instead of third party mock 2020-04-19 23:23:41 -07:00