From: Koos85 Date: Fri, 25 Sep 2020 09:06:54 +0000 (+0200) Subject: drop group skip. grammar tests order X-Git-Tag: archive/raspbian/2.0.44-1+rpi1~1^2~3^2~2^2~3^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=28d86883bbc93d8dd7bf59eb6602ed7d787fea7e;p=siridb-server.git drop group skip. grammar tests order --- diff --git a/itest/test_grammar.py b/itest/test_grammar.py index 325c3c49..b8423af0 100644 --- a/itest/test_grammar.py +++ b/itest/test_grammar.py @@ -145,6 +145,7 @@ class TestGrammar(TestBase): 'r_singleq_str': '', 'drop_server': '', # not possible 'drop_user': '', # user not exists error + 'drop_group': '', # group not exists error 'drop_series': '', # not required, but need series for tests }}) for q in qb.generate_queries('drop_stmt'): @@ -176,6 +177,10 @@ class TestGrammar(TestBase): time.sleep(2) + await self.test_count_stmt() + + await self.test_list_stmt() + await self.test_select_stmt() await self.test_revoke_stmt() @@ -184,17 +189,12 @@ class TestGrammar(TestBase): await self.test_alter_stmt() - await self.test_count_stmt() - - await self.test_list_stmt() - await self.test_drop_stmt() await self.test_show_stmt() self.client0.close() - print('.') return False class TestGrammarStart(TestBase):