Commit 17a3cea9 authored by Samuel GAIST's avatar Samuel GAIST

[test][core] Add push failure check for invalid assets

parent 67530307
......@@ -433,6 +433,17 @@ class AssetRemoteTest(AssetBaseTest):
exit_code, output ="rm", "--remote", asset_name), 0, output)
def test_fail_push_invalid(self):
asset_name = self.object_map["push_invalid"]
with as assertion:"push", asset_name, user="errors")
exc = assertion.exception
text = exc.args[0]"Invalid "))
def test_fail_not_owner_push(self):
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment