~hloeung/ubuntu-repository-cache/cache-memory-tuning-fix

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: mergebot at canonical
  • Author(s): "Haw Loeung"
  • Date: 2020-08-11 04:18:40 UTC
  • mfrom: (280.1.2 ubuntu-repository-cache-charm)
  • Revision ID: mergebot@juju-139df4-prod-is-toolbox-0.canonical.com-20200811041840-y23j1a7y3lxk67u2
Switch to pytest and fix unit tests

Reviewed-on: https://code.launchpad.net/~hloeung/ubuntu-repository-cache/pytest-coverage-fix-unit-tests/+merge/389050
Reviewed-by: Paul Collins <paul.collins@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
        sudo apt-get update
29
29
        sudo apt-get install -y python3-amulet
30
30
 
31
 
test:
32
 
        @tox
 
31
test: lint unittest
 
32
 
 
33
unittest:
 
34
        @tox -e unit
33
35
 
34
36
lint:
 
37
        @echo "Normalising python layout with black."
 
38
        @tox -e black
35
39
        @echo Checking for Python syntax...
36
40
        @tox -e lint
37
41