starter_packs/tests.py::TestToggleStarterPackAccount::test_add_account

First seen 9 months ago in commit fd2a5 pushed by Anže Pečar

Last 100 Runs
Pass % 100.0%
p50 duration 0.1046s
p95 duration 0.1117s

42 runs 42 passed in the last 30 days

Run 7 months, 3 weeks ago
Status FAIL
Commit

Add private support

Commit 52229 pushed by Anže Pečar
Repr
self = <starter_packs.tests.TestToggleStarterPackAccount testMethod=test_add_account>

    def test_add_account(self):
        account = baker.make("accounts.Account", discoverable=True)
        self.client.force_login(self.user)
        response = self.client.post(
            reverse(
                "toggle_account_to_starter_pack",
                kwargs={"starter_pack_slug": self.starter_pack.slug, "account_id": account.id},
            )
        )
>       self.assertEqual(response.status_code, 200)
E       AssertionError: 404 != 200

starter_packs/tests.py:193: AssertionError