-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find features or steps if the Django project is not the project root #51
Comments
Note that it's not a problem for I was going to try writing my own custom implementation of the file discovery in a sub-class of |
I suppose the Could we add a Django setting which tells |
I'm not sure why is (would also write it myself but that'll happen no earlier than in 3 weeks because holiday) |
Fair enough, enjoy your holiday and I'll see what I can come up with in the meantime :) |
If I have a project where the root directory is not the same as the Django project root directory, then aloe fails to find feature and step files in the Django project's apps.
For example, with the following project layout, aloe won't find
awesome.feature
because there is no__init__.py
in thedjango_stuff
directory:I can resolve this by adding a
__init__.py
file todjango_stuff
, the Django project root, however this causes issues with Django itself: Django will consider the Django project root itself to be an "app", and will complain that models have been declared multiple times in different apps. See http://stackoverflow.com/questions/26591399/django-1-7-conflicting-models and https://code.djangoproject.com/ticket/22280 for examples of that problem.The text was updated successfully, but these errors were encountered: