stats/tests.py::TestStats::test_store_daily_stats_with_accounts

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

Last 100 Runs
Pass % 100.0%
p50 duration 0.0953s
p95 duration 0.1006s

39 runs 39 passed in the last 30 days

Run 5 months ago
Status PASS
Commit

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

Commit 79209 pushed by Anže Pečar
Run 5 months ago
Status PASS
Commit

Add zeal to catch N+1 errors

Commit c3a90 pushed by Anže Pečar
Run 5 months ago
Status PASS
Commit

Try out django-watchfiles

Commit 62213 pushed by Anže Pečar
Run 5 months ago
Status PASS
Commit

Merge 701148bc89bf6544b52973e9eecca5ab77b9b8d7 into 7d542951492bdbfb90426b71b1bb774ac7db42c3

Commit 8ea4e pushed by pre-commit-ci[bot]
Run 5 months ago
Status PASS
Commit

Better titles everywhere!

Commit 7d542 pushed by Anže Pečar
Run 5 months ago
Status PASS
Commit

Improve page titles

Commit fa985 pushed by Anže Pečar
Run 5 months ago
Status PASS
Commit

Speed up last_status_at_cached

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

Remove template profiler

Commit db40c pushed by Anže Pečar
Run 5 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 5 months, 1 week ago
Status PASS
Commit

Sitemap fixes

Commit df332 pushed by Anže Pečar
Run 5 months, 1 week 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 5 months, 1 week ago
Status PASS
Commit

Fix follow button

Commit 46e06 pushed by Anže Pečar
Run 5 months, 1 week ago
Status PASS
Commit

Unlimited spans for the next 14 days

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

Add a bit of caching on conference page

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

Remove sampling

Commit 08b09 pushed by Anže Pečar
Run 5 months, 1 week ago
Status PASS
Commit

Fix n+1 query for logged in users

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

Fix tests

Commit de6bd pushed by Anže Pečar
Run 5 months, 1 week 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 5 months, 1 week ago
Status PASS
Commit

Fix java showing javascript accounts

Commit 39f19 pushed by Anže Pečar
Run 5 months, 1 week ago
Status PASS
Commit

Commit changes

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

Increase traces and spans to 50% for a bit

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

Cleanup urls

Commit 11beb pushed by Anže Pečar
Run 5 months, 1 week ago
Status PASS
Commit

Add profiles

Commit 404e7 pushed by Anže Pečar
Run 5 months, 1 week ago
Status PASS
Commit

Inline follow button html instead of using an inclusion tab

Commit 7bf98 pushed by Anže Pečar
Run 5 months, 1 week ago
Status PASS
Commit

Inline follow button html instead of using an inclusion tab

Commit c909e pushed by Anže Pečar