Skip to content

Commit

Permalink
Merge "Adding a workaround for neutron's import mock"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Sep 9, 2020
2 parents 44c430e + 5ae2d1e commit f1c1ff1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mock/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This is a work around for neutron 16.x importing from mock
# when neutron 17 is tagged it will import from unittest properly
# at that point this can be deleted
from unittest.mock import *

0 comments on commit f1c1ff1

Please sign in to comment.