Skip to content
Snippets Groups Projects
Commit c9dcd49d authored by Timm Fitschen's avatar Timm Fitschen Committed by Florian Spreckelsen
Browse files

add new test for SELECT name FROM ENTITY

parent 76298e31
No related branches found
No related tags found
1 merge request!4add new test for SELECT name FROM ENTITY
...@@ -160,6 +160,7 @@ build-testenv: ...@@ -160,6 +160,7 @@ build-testenv:
only: only:
- schedules - schedules
- web - web
- pushes
needs: [] needs: []
script: script:
- df -h - df -h
......
...@@ -147,6 +147,17 @@ def test_name2(): ...@@ -147,6 +147,17 @@ def test_name2():
assert e.description is None assert e.description is None
def test_name_from_entity():
db.administration.set_server_property(
"QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS",
"FALSE")
p3s = db.execute_query("SELECT name FROM ENTITY", flags={"cache": "false"})
db.administration.set_server_property(
"QUERY_FILTER_ENTITIES_WITHOUT_RETRIEVE_PERMISSIONS",
"TRUE")
p3s = db.execute_query("SELECT name FROM ENTITY", flags={"cache": "false"})
def test_multi1(): def test_multi1():
p1 = db.execute_query( p1 = db.execute_query(
"SELECT id, name, description FROM TestPropertyOne", "SELECT id, name, description FROM TestPropertyOne",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment