ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/AI_Brain_backend / tests/test_payments.py

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/AI_Brain_backend / tests/test_payments.py
DateNot specified in source
RepositoryJanady13/AI_Brain_backend
Revision829ca9d7ab37c117e0a3fa6bef8ae7b168ec9a83
Branchmain
Path or archive membertests/test_payments.py
Original SHA-2560bae4fb3419c23dcffe23d7794ee0d9403452800383d8e5a64d3b29b3135c307
Git blob SHAdb2882dba9f3f42ae376ab42e79f05bbd788533f
Reading-copy SHA-2560bae4fb3419c23dcffe23d7794ee0d9403452800383d8e5a64d3b29b3135c307

Original source ↗

Every recorded occurrence

These 2 records contain identical original source bytes. Their paths and revisions remain part of the archive.

Original recordBranch or archiveRevision / identifierOriginal location
Janady13/AI_Brain_backend / tests/test_payments.pymain829ca9d7ab37c117e0a3fa6bef8ae7b168ec9a83Open original
Janady13/AI_Brain_backend / tests/test_payments.pycodex/create-a-plan9d138024d285d68964e939aa3799010089883aa3Open original

Recovered source transcript

from fastapi.testclient import TestClient from main import app, plan_amount_usd client = TestClient(app) def test_checkout_rejects_unknown_plan(): response = client.post("/checkout", json={"plan": "enterprise"}) assert response.status_code == 400 assert "Unsupported plan" in response.text def test_paypal_rejects_unknown_plan(): response = client.post("/paypal/create-order", json={"plan": "enterprise"}) assert response.status_code == 400 assert "Unsupported plan" in response.text def test_square_rejects_unknown_plan(): response = client.post("/square/create-payment-link", json={"plan": "enterprise"}) assert response.status_code == 400 assert "Unsupported plan" in response.text def test_zero_override_preserved(): assert plan_amount_usd("pro", 0.0) == "0.00" assert plan_amount_usd("studio", 0) == "0.00"

Search equations, builds, manuscript text, and recovered sources.