Skip to content

Commit

Permalink
add MAINTAIN privilege to PostgreSQL tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelic committed Oct 31, 2024
1 parent abaf645 commit 943d37a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/pytests/unit/modules/test_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def get_test_list_language_csv():
@pytest.fixture
def get_test_privileges_list_table_csv():
return """name
"{baruwatest=arwdDxt/baruwatest,bayestest=arwd/baruwatest,baruwa=a*r*w*d*D*x*t*/baruwatest}"
"{baruwatest=arwdDxtm/baruwatest,bayestest=arwd/baruwatest,baruwa=a*r*w*d*D*x*t*m*/baruwatest}"
"""


Expand Down Expand Up @@ -1624,6 +1624,7 @@ def test_privileges_list_table(get_test_privileges_list_table_csv):
"REFERENCES": True,
"SELECT": True,
"DELETE": True,
"MAINTAIN": True,
},
"baruwatest": {
"INSERT": False,
Expand All @@ -1633,6 +1634,7 @@ def test_privileges_list_table(get_test_privileges_list_table_csv):
"REFERENCES": False,
"SELECT": False,
"DELETE": False,
"MAINTAIN": False,
},
}
assert ret == expected
Expand Down

0 comments on commit 943d37a

Please sign in to comment.