Comments (6)
I'm not sure I ever found a solution but it is a compatibility issue between Python2 and Python3. One way to handle it is to only run your project with Python2 but that's likely a terrible idea if all the other modules you are using are built for python3.
Alternatively use another test framework. You won't get that BDD flavour but pytest is really great and simple to learn, results in pretty decent and clean code. Django generally has a pretty good test suite built off unittest.
from lettuce.
@mathewtrivett hi! did you find a solution for this? I have the same issue :(
from lettuce.
I think there is an alternative if you want BDD with pytest:
https://github.com/pytest-dev/pytest-bdd
from lettuce.
@mathewtrivett Thank you for taking the time to answer back!
@michelts good to know! I will have a look at it :)
from lettuce.
@mariaae if you didn't try Aloe and Aloe django as lettuce replacements, I recommend you do it.
Migrate from lettuce to aloe was pretty simple and it supports py3.
from lettuce.
@mariaae @mathewtrivett @michelts if you have time (and interested) in lettuce fork which support py27 & py37 git it a try. Just trying to get some feedback from community on Python 3 support
from lettuce.
Related Issues (20)
- Improperly configured with lettuce 0.2.23 HOT 2
- Run tests on multiple Django versions HOT 1
- BaseCommand.option_list Dropped in Django 10
- Exponential test time increase with more examples HOT 1
- placing step files
- --root-dir parameter needs space before assignment HOT 1
- AttributeError: type object 'BaseCommand' has no attribute 'option_list' HOT 5
- Django 1.10x breaks when LiveServerTestCase if restarted too quickly HOT 1
- Django 1.9 Application labels aren't unique, duplicates: django HOT 1
- Partial name matching of apps causes problems HOT 1
- Using LETTUCE_USE_TEST_DATABASE with django harvest management command causes error
- python 2.7, print statement not working HOT 1
- --failfast: broken tests do not show up properly in xunit output
- Replace key 'uk' for ukrainian language with 'ua'
- No longer maintained? HOT 2
- Website and docs disappeared this week HOT 2
- @nikolas Did you get a chance to complete the migration? So far i have encountered some minor problem with mox.
- All outlines succeeded but scenario status is failed
- Test code generation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lettuce.