From 9e9adb6149fce4ae6396d0a1480efccfbf818be6 Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Fri, 7 Apr 2017 15:34:10 -0400 Subject: [PATCH] Remove .pyc files when running tests. Signed-off-by: Randy Barlow --- devel/ansible/roles/dev/files/.bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/devel/ansible/roles/dev/files/.bashrc b/devel/ansible/roles/dev/files/.bashrc index 9f2d6f7564..e63f8deb59 100644 --- a/devel/ansible/roles/dev/files/.bashrc +++ b/devel/ansible/roles/dev/files/.bashrc @@ -16,6 +16,7 @@ alias bstart="sudo systemctl start bodhi && echo 'The Application is running on alias bstop="sudo systemctl stop bodhi" function btest { + find /home/vagrant/bodhi -name "*.pyc" -delete; pushd /home/vagrant/bodhi && python setup.py nosetests $@; popd }