

def test_create_and_delete_account(self):
    '\n        verify we can correctly create and delete a new account\n\n        '
    (username, password) = get_test_user_pass()
    app_url = get_test_app_url()
    token_manager = auth.TokenManager(username=username, password=password, app_url=token_manager)
    if accounts.user_exists('jut-tools-user03', token_manager=token_manager, app_url=app_url):
        user03_token_manager = auth.TokenManager(username='jut-tools-user03', password='bigdata', app_url=app_url)
        accounts.delete_user('jut-tools-user03', token_manager=user03_token_manager, app_url=app_url)
    account = accounts.create_user('Jut Tools User #3', 'jut-tools-user03', 'jut-tools-user03@jut.io', 'bigdata', token_manager=token_manager, app_url=app_url)
    self.assertIn('id', account)
    user03_token_manager = auth.TokenManager(username='jut-tools-user03', password='bigdata', app_url=app_url)
    accounts.delete_user('jut-tools-user03', token_manager=user03_token_manager, app_url=app_url)

dataset/ETHPy150Open jut-io/jut-python-tools/tests/accounts_api_tests.py AccountsAPITests.test_create_and_delete_account/VarMisuse@44/89 `app_url`->`token_manager`