summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lcm/lcm/settings.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lcm/lcm/settings.py b/lcm/lcm/settings.py
index e72e256c..edba0e3d 100644
--- a/lcm/lcm/settings.py
+++ b/lcm/lcm/settings.py
@@ -175,3 +175,8 @@ if 'test' in sys.argv:
TEST_OUTPUT_VERBOSE = True
TEST_OUTPUT_DESCRIPTIONS = True
TEST_OUTPUT_DIR = 'test-reports'
+
+ import mock
+ from lcm.pub.utils import idutil
+ idutil.get_auto_id = mock.Mock()
+ idutil.get_auto_id.return_value = 1