This problem turned out to be related to specificity. Another url
pattern was overriding the pattern that I was testing.
On Sep 24, 9:43 pm, Brandon Taylor wrote:
> So it appears to be something with django-cms' urls that are causing
> issues with testing. I'm able to
So it appears to be something with django-cms' urls that are causing
issues with testing. I'm able to test any URL that isn't controlled by
dajngo-cms, like '/admin/' or whatever.
Anyone else using django-cms v2 and Django 1.1.1 experiencing these
issues?
TIA,
Brandon
On Sep 24, 6:40 am,
So here's something else that's weird...
I can start a shell, load up the test Client and get the page in
question:
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from
Hi everyone,
I'm having a problem with reversing a URL in a unit test:
class ProductTestCase(TestCase):
def setUp(self):
self.client = Client
def test_project_permalink(self):
project = Project.approved.all()[0]
url = project.get_absolute_url()
I'm using an
4 matches
Mail list logo