def test_new_subvoat_creation():
api_token = get_api_token()
result = requests.post('%s/create_subvoat' % (base_address), {'username':'test_username',
'api_token':api_token,
'subvoat_name':'test_%s' % (''.join(random.choices(string.ascii_letters, k=10)))})
print(result.json())
# Try to create the same subvoat that already exists
评论列表
文章目录