Comments (7)
No worries. How can we test this locally? (without pushing a new version to pypi)
from appdaemon-test-framework.
Also, I realized that I forgot to update
python_requires=">=3.6",
when dropping support for python 3.6. We might want to use the opportunity to fix that as well.
from appdaemon-test-framework.
See #58
I built the wheel locally, then installed it into my working environment and re-ran
from appdaemon-test-framework.
And yes, I realized the same when I looked at that file 😄
from appdaemon-test-framework.
Haha. I've just seen your PR. You already fixed the point I mentioned above 😁👍
I built the wheel locally, then installed it into my working environment and re-ran
Could you write down the steps to do this? (I haven't worked with python in a year or so 😅)
I'd like to check it out as well
from appdaemon-test-framework.
Sure, in your local folder with this repo, you build the wheel using:
python setup.py bdist_wheel
Then you get a file on this path: dist/appdaemontestframework-4.0.0b2-py3-none-any.whl
That file can be installed into the venv you use for running your own appdaemon tests by running the following command from that venv:
python -m pip install <path_to_wheel>
I typically drag and drop the wheel to my prod appdaemon env because it simplifies the last command
from appdaemon-test-framework.
Cool. Thanks for the info, very useful for when I'll give that a go 😃 But for now I decided to trust you and I merged #58. So I'm closing this
from appdaemon-test-framework.
Related Issues (20)
- Basic installation/running question HOT 4
- Should state listeners be automatically called when a state is mocked? HOT 2
- Deprecation of `hass_functions` HOT 2
- Create a Changelog HOT 1
- Minimal demo throws TypeError: too many positional arguments HOT 7
- Should we be supporting Appdaemon v3 and v4? or only the latest (v4)? HOT 5
- Cant get sample to work HOT 5
- Test setup should cover all supported Python versions HOT 1
- asserting events HOT 9
- Version 5.4 of pytest is not supported
- args not available within `initialize` HOT 1
- Test input_select, wrong idea? HOT 6
- Global dependencies (such as helper scripts) cannot be used. HOT 1
- Packaging issue for 4.0.0b0 HOT 1
- AttributeError raised on run_every HOT 1
- Feature Request: validate service names HOT 1
- Examples use depricated code
- Feature Request: Trigger tests using "events" HOT 1
- Allow automations not based on Hass base class HOT 1
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 appdaemon-test-framework.