Merge very similar code in test_quotas_negative

There are too much similar code in test_quotas_negative which is
used to update quotas, so we can use a common internal function
to replace them and so to keep code clean.

Change-Id: Ibeb588aa81e65775c3171ae654f07bd6d030b66d
1 file changed