starter_packs/tests.py::TestToggleStarterPackAccount::test_add_account

First seen 1 month, 2 weeks ago in commit fd2a5 pushed by Anže Pečar

Last 100 Runs
Pass % 99.0%
p50 duration 0.1110s
p95 duration 0.1968s

41 runs 40 passed 1 failed in the last 30 days

Run 1 week, 1 day 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