@@ -0,0 +1,890 @@
+# -*- coding: utf-8 -*-%0Afrom __future__ import absolute_import, division, print_function%0A%0A%0Afrom mock import patch%0Afrom polyaxon_cli.cli.user import user%0Afrom tests.test_cli.utils import BaseCommandTestCase%0A%0A%0Aclass TestUser(BaseCommandTestCase):%0A    @patch('polyaxon_client.user.UserClient.activate_user')%0A    @patch('polyaxon_cli.cli.check.Printer.print_success')%0A    def test_activate(self, print_success, activate_user):%0A        self.runner.invoke(user, %5B'activate', 'username'%5D)%0A        assert activate_user.call_count == 1%0A        assert print_success.call_count == 1%0A%0A    @patch('polyaxon_client.user.UserClient.delete_user')%0A    @patch('polyaxon_cli.cli.check.Printer.print_success')%0A    def test_delete(self, print_success, delete_user):%0A        self.runner.invoke(user, %5B'delete', 'username'%5D)%0A        assert delete_user.call_count == 1%0A        assert print_success.call_count == 1%0A

Add user tests