install pytest
pip install pytestpip install -U pytest
# content of test_sample.py
def inc(x):
return x + 1
def test_answer():
assert inc(3) == 5
Also in C++:
- git get remote branch
- install flask dockerfile
- linux read binary file
- making password sensitive/hide in terraform
- see detail of pid
- display all files in a directory linux
- bash find text in specific file
- npx cap sync Unable to find node_modules/@angular-eslint/builder
- instal bable for linux
- write in a file linux
- dir files
- git remove remote tags
- change webcam whitebalance ubuntu
- nohup & 2 &1
- generate jks certificate
- ubuntu server change timezone
- linux tmux stop
- sed remove first line
- install vi editor ubuntu dockerfile
- how to install fairseq
- ubuntu start mongodb
- remove .idea from git
- ubuntu reset path
- get users shell