コード例 #1
0
 def test_show_quota_positional(self):
     resource = 'quota'
     cmd = test_quota.ShowQuota(test_cli20.MyApp(sys.stdout), None)
     args = [self.test_id]
     self._test_show_resource(resource, cmd, self.test_id, args)
コード例 #2
0
 def test_show_quota(self):
     resource = 'quota'
     cmd = test_quota.ShowQuota(test_cli20.MyApp(sys.stdout), None)
     args = ['--tenant-id', self.test_id]
     self._test_show_resource(resource, cmd, self.test_id, args)