stats/tests.py::TestStats::test_store_daily_stats_with_accounts

First seen 1 year, 7 months ago in commit 1cd3a pushed by Anže Pečar

Last 100 Runs
Pass % 100.0%
p50 duration 0.0933s
p95 duration 0.1014s

30 runs 30 passed in the last 30 days

Run 10 months, 1 week ago
Status PASS
Commit

Remove template profiler

Commit db40c pushed by Anže Pečar
Run 10 months, 1 week ago
Status PASS
Commit

Merge pull request #73 from anze3db/pre-commit-ci-update-config

Commit f9629 pushed by Anže Pečar
Run 10 months, 1 week ago
Status PASS
Commit

Sitemap fixes

Commit df332 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Switch to conference_slug so that the traces look more informative in Sentry

Commit 81eb0 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Fix follow button

Commit 46e06 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Unlimited spans for the next 14 days

Commit e6a34 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Add a bit of caching on conference page

Commit e2f45 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Remove sampling

Commit 08b09 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Fix n+1 query for logged in users

Commit 5aa0c pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Fix tests

Commit de6bd pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status FAIL
Commit

Fix daily stats

Commit 8dea1 pushed by Anže Pečar
Repr
self = <stats.tests.TestStats testMethod=test_store_daily_stats_with_accounts>

    def test_store_daily_stats_with_accounts(self):
        account = Account.objects.create(
            account_id="2",
            instance="fosstodon.org",
            username="fosstest",
            acct="fosstest",
            display_name="Test Foss",
            locked=False,
            bot=False,
            discoverable=True,
            group=False,
            created_at="2021-01-01T00:00:00.000000+00:00",
            last_status_at="2021-01-01T00:00:00.000000+00:00",
            last_sync_at="2021-01-01T00:00:00.000000+00:00",
            followers_count=0,
            following_count=0,
            statuses_count=0,
            note="",
            url="https://fosstodon.org/@fosstest",
            avatar="https://fosstodon.org/@fosstest/avatar",
            avatar_static="https://fosstodon.org/@fosstest/avatar",
            header="https://fosstodon.org/@fosstest/header",
            header_static="https://fosstodon.org/@fosstest/header",
            emojis=[],
            roles=[],
            fields=[],
        )
        AccountLookup.objects.create(account=account, language="python")
    
        store_daily_stats()
        daily = Daily.objects.get(date=timezone.now().date())
    
        self.assertEqual(daily.total_accounts, 1)
>       self.assertEqual(daily.python_accounts, 1)
E       AssertionError: 0 != 1

stats/tests.py:60: AssertionError
Run 10 months, 2 weeks ago
Status PASS
Commit

Fix java showing javascript accounts

Commit 39f19 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Commit changes

Commit a870d pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Increase traces and spans to 50% for a bit

Commit eb6fa pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Cleanup urls

Commit 11beb pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Add profiles

Commit 404e7 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Inline follow button html instead of using an inclusion tab

Commit 7bf98 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Inline follow button html instead of using an inclusion tab

Commit c909e pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Merge aee8515f47858a9c1ca17600fb29a162b7ec6be7 into 0cd3c4616f3dd891cded43f7604bf01d31096d7c

Commit da6e0 pushed by pre-commit-ci[bot]
Run 10 months, 2 weeks ago
Status PASS
Commit

Make header

Commit 0cd3c pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Show text on mobile view

Commit 6e019 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Perf improvements

Commit 76585 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

One more optional

Commit f4d18 pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Mark two commands as optional

Commit b519f pushed by Anže Pečar
Run 10 months, 2 weeks ago
Status PASS
Commit

Merge pull request #72 from anze3db/stats_fix

Commit 4d17a pushed by Anže Pečar