tricircle/tricircle
zhiyuan_cai ab046fba3a [Urgent] Add __contains__ method to FakeSession
1. What is the problem?
After a recent update, Neutron will use "subnet in context.session"
to check if the session contatins subnet object. However, our
simulated class for Session in the unit tests, FakeSession, is not
iterable. Thus unit tests fail.

2. What is the solution to the problem?
Add __contains__ method to FakeSession class to make it support
"in" operation.

3. What the features need to be implemented to the Tricircle
to realize the solution?
No new features. Changes to pass unit tests.

Change-Id: I26689fdd86e1cce04b9178576646b481762fb0d6
2017-04-06 18:58:39 +08:00
..
api Support WSGI deployment for Tricircle Admin API(part1) 2017-03-25 05:17:37 -04:00
cmd Merge "DB migration version" 2017-01-12 09:25:30 +00:00
common Shared VxLAN (Part5: bulk create shadow port) 2017-03-30 11:58:01 +08:00
db Shared VxLAN (Part4: bridge network l3) 2017-03-24 11:34:27 +08:00
network Merge "Update doc and add release note for vxlan" 2017-03-30 07:12:24 +00:00
tempestplugin Add multi-region configuration in gate_hook.sh 2017-03-28 03:00:04 -04:00
tests [Urgent] Add __contains__ method to FakeSession 2017-04-06 18:58:39 +08:00
xjob Shared VxLAN (Part5: bulk create shadow port) 2017-03-30 11:58:01 +08:00
__init__.py networking-tricircle core plugin and security group 2015-08-05 14:49:24 +03:00