<reponame>akhundMurad/fastapi-bigbluebutton<filename>src/tests/test_views/test_auth.py
def test_access_token_creating(client, test_user):
    password, test_user = <PASSWORD>
    data = {
        'username': test_user.username,
        'password': password
    }

    response = client.post('/users/token/', data)

    assert response.status_code == 201

def test_access_token_creating(client, test_user):
    password, test_user = <PASSWORD>
    data = {
        'username': test_user.username,
        'password': password
    }

    response = client.post('/users/token/', data)

    assert response.status_code == 201