~ubuntuone-control-tower/ubuntuone-storage-protocol/stable-1-6

« back to all changes in this revision

Viewing changes to run-tests

  • Committer: Tarmac
  • Author(s): Rodney Dawes
  • Date: 2010-11-16 15:10:48 UTC
  • mfrom: (121.1.4 use-packages)
  • Revision ID: tarmac-20101116151048-b0e20j7lorb4yhe1
Switch to using packaged mocker and ubuntuone-dev-tools
Use pyflakes with u1lint and also run pep8
Fix a lot of pylint/pyflakes/pep8 errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#
3
3
# Copyright 2010 Canonical Ltd.
4
4
#
5
 
 
6
5
# This program is free software: you can redistribute it and/or modify it
7
6
# under the terms of the GNU Affero General Public License version 3,
8
7
# as published by the Free Software Foundation.
14
13
#
15
14
# You should have received a copy of the GNU Affero General Public License
16
15
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
16
set -e
17
17
 
18
 
/usr/bin/env python setup.py build check
 
18
/usr/bin/env python setup.py build
 
19
u1trial tests
 
20
USE_PYFLAKES=1 u1lint
 
21
/usr/bin/env python setup.py clean
 
22
rm -rf build
 
23
pep8 --repeat .
 
24
rm -rf _trial_temp