From d7159400f825049e47284da9900bd1d3eb9b04ef Mon Sep 17 00:00:00 2001 From: jimingquan Date: Thu, 14 Oct 2021 20:01:28 +0800 Subject: [PATCH] fix pytest error --- tests/query/stateless/test_schema.py | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/tests/query/stateless/test_schema.py b/tests/query/stateless/test_schema.py index b0b27ca3851..0e13d8d228a 100644 --- a/tests/query/stateless/test_schema.py +++ b/tests/query/stateless/test_schema.py @@ -148,20 +148,6 @@ def test_alter_tag_succeed(self): ['age', 'int64', 'YES', T_EMPTY, T_EMPTY]] self.check_result(resp, expect) - # alter all - resp = self.execute('ALTER TAG student drop (name),' - 'ADD (gender string),' - 'CHANGE (gender int)') - self.check_resp_succeeded(resp) - - resp = self.execute('DESC TAG student') - self.check_resp_succeeded(resp) - expect = [['email', 'string', 'YES', T_EMPTY, T_EMPTY], - ['birthday', 'timestamp', 'YES', T_EMPTY, T_EMPTY], - ['age', 'int64', 'YES', T_EMPTY, T_EMPTY], - ['gender', 'int64', 'YES', T_EMPTY, T_EMPTY]] - self.check_result(resp, expect) - def test_alter_tag_failed(self): # alter ttl_col on wrong type try: @@ -304,19 +290,6 @@ def test_alter_edge_succeed(self): ['start_year', 'int64', 'YES', T_EMPTY, T_EMPTY]] self.check_result(resp, expect) - # alter all - resp = self.execute('ALTER EDGE relationship drop (name),' - 'ADD (end_year string),' - 'CHANGE (end_year int)') - self.check_resp_succeeded(resp) - - resp = self.execute('DESC EDGE relationship') - self.check_resp_succeeded(resp) - expect = [['email', 'string', 'YES', T_EMPTY, T_EMPTY], - ['start_year', 'int64', 'YES', T_EMPTY, T_EMPTY], - ['end_year', 'int64', 'YES', T_EMPTY, T_EMPTY]] - self.check_result(resp, expect) - def test_alter_edge_failed(self): # alter ttl_col on wrong type try: