summaryrefslogtreecommitdiff
path: root/run_tests.py
diff options
context:
space:
mode:
authoramcrn <amcreynolds@ebaysf.com>2014-03-14 13:22:02 -0700
committeramcrn <amcreynolds@ebaysf.com>2014-03-14 13:22:02 -0700
commit63d62f084e3e54d7831c728ca40de4ce94004315 (patch)
treefca2f4823d95c32d3e517f765a884234eaf22d1c /run_tests.py
parenta767623967626e520e9dbafc219e345aa82a193c (diff)
downloadtrove-63d62f084e3e54d7831c728ca40de4ce94004315.tar.gz
Hide Datastores In List With No Active Versions
in a datastore-list operation, for non-admin, filters out datastores that either have no versions or have no active versions for non-admin users. admins continue to see all datastores, active or inactive, in a datastore-list operation. Change-Id: Iccaf9ae59469fd0f4cb346ee258d3132eed83660 Co-Authored-By: Andrey Shestakov <ashestakov@mirantis.com> Closes-Bug: #1290617
Diffstat (limited to 'run_tests.py')
-rw-r--r--run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/run_tests.py b/run_tests.py
index 100f0bf2..7ed9d4bd 100644
--- a/run_tests.py
+++ b/run_tests.py
@@ -78,7 +78,7 @@ def datastore_init():
name=CONFIG.dbaas_datastore,
default_version_id=
CONFIG.dbaas_datastore_version_id)
- models.DBDatastore.create(id="e00000e0-00e0-0e00-00e0-000e000000ee",
+ models.DBDatastore.create(id=CONFIG.dbaas_datastore_id_no_versions,
name='Test_Datastore_1',
default_version_id=None)