starter_packs/tests.py::TestCreateStarterPack::test_create_starter_pack

First seen 1 month ago in commit 1b5db pushed by Anže Pečar

Last 96 Runs
Pass % 99.0%
p50 duration 0.1540s
p95 duration 0.1671s

95 runs 94 passed 1 failed in the last 30 days

Run 19 minutes ago
Status PASS
Commit

Fix showing not discoverable

Commit dd0b0 pushed by Anže Pečar
Run 1 day, 1 hour ago
Status PASS
Commit

Change to info

Commit 2b21f pushed by Anže Pečar
Run 1 day, 1 hour ago
Status PASS
Commit

Fix crawler

Commit 9968e pushed by Anže Pečar
Run 2 days, 2 hours ago
Status PASS
Commit

Try to fix crawler

Commit d1981 pushed by Anže Pečar
Run 2 days, 11 hours ago
Status PASS
Commit

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

Commit 90533 pushed by Anže Pečar
Run 2 days, 14 hours ago
Status PASS
Commit

Merge ccbeea2952ba44af0151930d7a0147da2572dcc0 into fab075303a6d10296f690764347f678d6d575a5d

Commit 52183 pushed by pre-commit-ci[bot]
Run 1 week ago
Status PASS
Commit

Don't only look at bio

Commit fab07 pushed by Anže Pečar
Run 1 week ago
Status PASS
Commit

Fix regex for odin

Commit e4647 pushed by Anže Pečar
Run 1 week, 1 day ago
Status PASS
Commit

Fix odin index

Commit 05651 pushed by Anže Pečar
Run 1 week, 1 day ago
Status PASS
Commit

Add oding language

Commit fbaf8 pushed by Anže Pečar
Run 1 week, 1 day ago
Status PASS
Commit

#91 Prepare an empty .po file for 🇫🇷

Commit c09da pushed by Anže Pečar
Run 1 week, 1 day ago
Status PASS
Commit

#91 Prepare more views for translations

Commit 982a9 pushed by Anže Pečar
Run 1 week, 2 days ago
Status PASS
Commit

Add translation strings to views

Commit cbcdf pushed by Anže Pečar
Run 1 week, 2 days ago
Status PASS
Commit

Fix edge case when too many accounts

Commit fd2a5 pushed by Anže Pečar
Run 1 week, 2 days ago
Status PASS
Commit

Fix warning

Commit e485b pushed by Anže Pečar
Run 1 week, 2 days ago
Status PASS
Commit

#91 Start adding translation strings

Commit 6eb06 pushed by Anže Pečar
Run 1 week, 2 days ago
Status FAIL
Commit

#91 Start adding translation strings

Commit 00de4 pushed by Anže Pečar
Repr
self = <starter_packs.tests.TestCreateStarterPack testMethod=test_create_starter_pack>

    def test_create_starter_pack(self):
        self.client.force_login(self.user)
        response = self.client.post(
            reverse("create_starter_pack"),
            {
                "title": "Test Starter Pack",
                "description": "This is a test starter pack",
            },
        )
        starter_pack = self.user.starterpack_set.first()
        self.assertEqual(starter_pack.created_by, self.user)
>       self.assertRedirects(response, reverse("edit_accounts_starter_pack", args=[starter_pack.slug]))

starter_packs/tests.py:66: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
.venv/lib/python3.13/site-packages/django/test/testcases.py:507: in assertRedirects
    redirect_response = response.client.get(
.venv/lib/python3.13/site-packages/django/test/client.py:1129: in get
    response = super().get(
.venv/lib/python3.13/site-packages/django/test/client.py:479: in get
    return self.generic(
.venv/lib/python3.13/site-packages/django/test/client.py:676: in generic
    return self.request(**r)
.venv/lib/python3.13/site-packages/django/test/client.py:1092: in request
    self.check_exception(response)
.venv/lib/python3.13/site-packages/django/test/client.py:805: in check_exception
    raise exc_value
.venv/lib/python3.13/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
.venv/lib/python3.13/site-packages/django/core/handlers/base.py:197: in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
.venv/lib/python3.13/site-packages/django/contrib/auth/decorators.py:60: in _view_wrapper
    return view_func(request, *args, **kwargs)
starter_packs/views.py:156: in add_accounts_to_starter_pack
    return render(
.venv/lib/python3.13/site-packages/django/shortcuts.py:25: in render
    content = loader.render_to_string(template_name, context, request, using=using)
.venv/lib/python3.13/site-packages/django/template/loader.py:62: in render_to_string
    return template.render(context, request)
.venv/lib/python3.13/site-packages/django/template/backends/django.py:107: in render
    return self.template.render(context)
.venv/lib/python3.13/site-packages/django/template/base.py:171: in render
    return self._render(context)
.venv/lib/python3.13/site-packages/django/test/utils.py:114: in instrumented_test_render
    return self.nodelist.render(context)
.venv/lib/python3.13/site-packages/django/template/base.py:1008: in render
    return SafeString("".join([node.render_annotated(context) for node in self]))
.venv/lib/python3.13/site-packages/django/template/base.py:969: in render_annotated
    return self.render(context)
.venv/lib/python3.13/site-packages/django/template/loader_tags.py:159: in render
    return compiled_parent._render(context)
.venv/lib/python3.13/site-packages/django/test/utils.py:114: in instrumented_test_render
    return self.nodelist.render(context)
.venv/lib/python3.13/site-packages/django/template/base.py:1008: in render
    return SafeString("".join([node.render_annotated(context) for node in self]))
.venv/lib/python3.13/site-packages/django/template/base.py:969: in render_annotated
    return self.render(context)
.venv/lib/python3.13/site-packages/django/template/loader_tags.py:65: in render
    result = block.nodelist.render(context)
.venv/lib/python3.13/site-packages/django/template/base.py:1008: in render
    return SafeString("".join([node.render_annotated(context) for node in self]))
.venv/lib/python3.13/site-packages/django/template/base.py:969: in render_annotated
    return self.render(context)
.venv/lib/python3.13/site-packages/django/template/loader_tags.py:199: in render
    template = context.template.engine.select_template(template_name)
.venv/lib/python3.13/site-packages/django/template/engine.py:208: in select_template
    return self.get_template(template_name)
.venv/lib/python3.13/site-packages/django/template/engine.py:177: in get_template
    template, origin = self.find_template(template_name)
.venv/lib/python3.13/site-packages/django/template/engine.py:159: in find_template
    template = loader.get_template(name, skip=skip)
.venv/lib/python3.13/site-packages/template_partials/loader.py:41: in get_template
    template = self.loaders[0].get_template(template_name, skip)
.venv/lib/python3.13/site-packages/django/template/loaders/cached.py:57: in get_template
    template = super().get_template(template_name, skip)
.venv/lib/python3.13/site-packages/django/template/loaders/base.py:28: in get_template
    return Template(
.venv/lib/python3.13/site-packages/django/template/base.py:154: in __init__
    self.nodelist = self.compile_nodelist()
.venv/lib/python3.13/site-packages/django/template/base.py:196: in compile_nodelist
    nodelist = parser.parse()
.venv/lib/python3.13/site-packages/django/template/base.py:518: in parse
    raise self.error(token, e)
.venv/lib/python3.13/site-packages/django/template/base.py:516: in parse
    compiled_result = compile_func(self, token)
.venv/lib/python3.13/site-packages/django/template/defaulttags.py:862: in do_for
    nodelist_loop = parser.parse(
.venv/lib/python3.13/site-packages/django/template/base.py:518: in parse
    raise self.error(token, e)
.venv/lib/python3.13/site-packages/django/template/base.py:516: in parse
    compiled_result = compile_func(self, token)
.venv/lib/python3.13/site-packages/django/template/defaulttags.py:962: in do_if
    nodelist = parser.parse(("elif", "else", "endif"))
.venv/lib/python3.13/site-packages/django/template/base.py:518: in parse
    raise self.error(token, e)
.venv/lib/python3.13/site-packages/django/template/base.py:516: in parse
    compiled_result = compile_func(self, token)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

parser = <Parser tokens=[<Text token: "</ul>...">, <Block token: "endif...">, <Text token: "    ...">, <Block token: "endif..."......">, <Text token: "                   ...">, <Block token: "blocktrans...">, <Text token: "                   ...">]>
token = <Block token: "with url = "https://...">

    @register.tag("with")
    def do_with(parser, token):
        """
        Add one or more values to the context (inside of this block) for caching
        and easy access.
    
        For example::
    
            {% with total=person.some_sql_method %}
                {{ total }} object{{ total|pluralize }}
            {% endwith %}
    
        Multiple values can be added to the context::
    
            {% with foo=1 bar=2 %}
                ...
            {% endwith %}
    
        The legacy format of ``{% with person.some_sql_method as total %}`` is
        still accepted.
        """
        bits = token.split_contents()
        remaining_bits = bits[1:]
        extra_context = token_kwargs(remaining_bits, parser, support_legacy=True)
        if not extra_context:
>           raise TemplateSyntaxError(
                "%r expected at least one variable assignment" % bits[0]
            )
E           django.template.exceptions.TemplateSyntaxError: 'with' expected at least one variable assignment

.venv/lib/python3.13/site-packages/django/template/defaulttags.py:1533: TemplateSyntaxError
Run 1 week, 2 days ago
Status PASS
Commit

Feedback after following all #96

Commit e9679 pushed by Anže Pečar
Run 1 week, 2 days ago
Status PASS
Commit

Basic search #95

Commit fa6b9 pushed by Anže Pečar
Run 1 week, 2 days ago
Status PASS
Commit

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

Commit fd661 pushed by Anže Pečar
Run 1 week, 2 days ago
Status PASS
Commit

Merge 83c1642312132d5e9fccb5220a9bc4a3291f1804 into 4f9a46091ff18822723ae14ec30512e14fcac386

Commit 46cfe pushed by pre-commit-ci[bot]
Run 1 week, 2 days ago
Status PASS
Commit

Properly set the starter packs page url

Commit 4f9a4 pushed by Anže Pečar
Run 1 week, 2 days ago
Status PASS
Commit

Update page descriptions

Commit 40021 pushed by Anže Pečar
Run 1 week, 6 days ago
Status PASS
Commit

Handle 500 errors when response doesn't return expected json

Commit 6aadf pushed by Anže Pečar
Run 1 week, 6 days ago
Status PASS
Commit

Resolve state could not be found in cache errors

Commit d7417 pushed by Anže Pečar