Skip to content

Cleanup testing and small parts of vetting details#338

Merged
brianhelba merged 1 commit intomainfrom
test-factories
Feb 11, 2026
Merged

Cleanup testing and small parts of vetting details#338
brianhelba merged 1 commit intomainfrom
test-factories

Conversation

@brianhelba
Copy link
Member

No description provided.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 5, 2026

Deploying bats-ai with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8754161
Status: ✅  Deploy successful!
Preview URL: https://20701695.bats-ai.pages.dev
Branch Preview URL: https://test-factories.bats-ai.pages.dev

View logs

Comment on lines +5 to +12
@pytest.mark.parametrize(
'url_suffix',
[
'configuration/is_admin/',
],
)
@pytest.mark.django_db
def test_auth_anonymous_deny(url_suffix: str, client: Client):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this test parametrized? Is the intent to use this single test to make sure all of our endpoints that require auth are locked down correctly?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. If that never happens, we should just remove the parametrization.

@brianhelba brianhelba merged commit 2c633d2 into main Feb 11, 2026
7 checks passed
@brianhelba brianhelba deleted the test-factories branch February 11, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants