Fix check-source error for test_sale caused by updates in pyflakes

This patch fix the test_sale.py check-source error detected by Pyflakes
0.6.1

Change-Id: I7917e0744e71e95f52d5d2322e2d2ae1e9e26861