drop group skip. grammar tests order
authorKoos85 <koosjoosten@gmail.com>
Fri, 25 Sep 2020 09:06:54 +0000 (11:06 +0200)
committerKoos85 <koosjoosten@gmail.com>
Fri, 25 Sep 2020 09:06:54 +0000 (11:06 +0200)
itest/test_grammar.py

index 325c3c490586eb3adf78a5a0cf37756add7a951e..b8423af0c1b781d2ff3258bfcf008c683a9738f7 100644 (file)
@@ -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):