Skip to content
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

Partial name matching of apps causes problems #549

Open
erfaan opened this issue Apr 12, 2017 · 1 comment
Open

Partial name matching of apps causes problems #549

erfaan opened this issue Apr 12, 2017 · 1 comment

Comments

@erfaan
Copy link

erfaan commented Apr 12, 2017

Lets say I have 2 apps

  1. someapp
  2. someapp_api

Now I have feature files only for first app someapp. Setting LETTUCE_APPS = ('someapp',) is supposed to run features only for first app but it also tries to run it for second app and fails with

could not find features at ./someapp_api/features

Here is the culprit line:

6d68a72:/lettuce/django/apps.py#L38

Is there a specific reason to use startswith?

@sgpy
Copy link

sgpy commented Feb 14, 2019

@erfaan please try this (if you have time) in the new py3-fork which uses django 2.1.6. Python 3 support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants