Merge "Check if the test flag is set"
diff --git a/_states/neutronv2.py b/_states/neutronv2.py
index 7bfa7fb..85e9c3c 100644
--- a/_states/neutronv2.py
+++ b/_states/neutronv2.py
@@ -9,6 +9,9 @@
 
 
 def _neutronv2_call(fname, *args, **kwargs):
+    if __opts__.get('test') and not any(x for x in ['_get_', '_list'] if x in fname):
+        return {'changes': 'neutronv2 state {} to be called with {} {}'.format(
+            fname, args, kwargs), 'result': None}
     return __salt__['neutronv2.{}'.format(fname)](*args, **kwargs)