Skip to content

Commit

Permalink
Adding a workaround for neutron's import mock
Browse files Browse the repository at this point in the history
This patch can be reverted when we depend on neutron 17

Change-Id: I325ec1e52daccf2f124185e6bbb14627aace1562
  • Loading branch information
radez authored and michaeltchapman committed Sep 4, 2020
1 parent bb59a28 commit 5ae2d1e
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 5ae2d1e

Please sign in to comment.