﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22213	Test failure: relative path in resolve_url	afuna	nobody	"Running against master:

➤ python tests/runtests.py resolve_url.tests.ResolveUrlTests
```
Testing against Django installed in 'code/django/django'
Creating test database for alias 'default'...
Creating test database for alias 'other'...
....E...
{{{
======================================================================
ERROR: test_relative_path (resolve_url.tests.ResolveUrlTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File ""code/django/tests/resolve_url/tests.py"", line 29, in test_relative_path
    self.assertEqual('../', resolve_url('../'))
  File ""code/django/django/shortcuts/__init__.py"", line 151, in resolve_url
  File ""code/django/django/core/urlresolvers.py"", line 515, in reverse
    return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
  File ""code/django/django/core/urlresolvers.py"", line 387, in _reverse_with_prefix
    lookup_view = get_callable(lookup_view, True)
  File ""code/django/django/utils/lru_cache.py"", line 101, in wrapper
    result = user_function(*args, **kwds)
  File ""code/django/django/core/urlresolvers.py"", line 96, in get_callable
    mod = import_module(mod_name)
  File ""python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py"", line 30, in import_module
    raise TypeError(""relative imports require the 'package' argument"")
TypeError: relative imports require the 'package' argument
}}}

Looks to have been introduced in 8251438cb8c1d47779e9fc33cfa84dad9851a774"	Bug	closed	Testing framework	1.6	Normal	worksforme		django@…	Unreviewed	0	0	0	0	0	0
