Skip to content

url_name for ViewTestMixin confusion #10

@kmtracey

Description

@kmtracey

This doc: http://django-hilbert.readthedocs.org/en/v0.4.1/test.html#viewtestmixin

leads me to believe I need to specify 'url_name' for my test class. But when I do that I get:

AttributeError: 'HomePageTest' object has no attribute 'url'

If I change my url_name to url, the test case runs. I'm not sure whether the code or doc is off. Using 0.4.1 level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions