def METHOD_NAME(tmp_path):
    secret_path = str(tmp_path / '.test')
    with open(secret_path, 'w') as fp:
        fp.write('{"key": "testvar"}')
    test_auth = auth.Auth.from_file(secret_path)
    assert test_auth.value == 'testvar'