﻿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
23612	Relative fixture paths not working on Windows 8.1	Brandon Taylor	nobody	"I have a Django 1.6.6 project that is not loading fixtures from relative paths using Python 2.7.8 on Windows 8.1. Works just fine in Linux.

Example Test Case:

{{{#!python
# cart/tests.py

class CartTestBase(TestCase):
    fixtures = ['products/fixtures/product_categories.json',
    'products/fixtures/brands.json', 'products/fixtures/products.json']
}}}

Which fits into a directory structure of:
{{{
ecomm_app/
    cart/
        __init__.py
        models.py
        tests.py
        . . .
      
    products/
        fixtures/
            products/fixtures/product_categories.json
            products/fixtures/brands.json
            products/fixtures/products.json
        __init__.py
        models.py
        . . .
}}}

The specific error message is:

{{{
UserWarning: No fixture named 'products/fixtures/products' found.
warnings.warn(""No fixture named '%s' found."" % fixture_name)
}}}

The corresponding app modules are listed in `INSTALLED_APPS` and work fine otherwise. Specifying an absolute path does work, but obviously isn't cross-platform. Specifying a root-relative path does not work, e.g.: `/products/fixtures/brands.json`

Moving the fixtures to `/cart/fixtures/` and referencing them by name only works."	Bug	closed	Testing framework	dev	Normal	fixed	windows fixtures		Accepted	1	0	0	0	0	0
