示例#1
0
 def test_delete_file(self, m1):
     """Test delete file works."""
     from pybossa.jobs import delete_file
     delete_file('f', 'a')
     m1.assert_called_with('f', 'a')
示例#2
0
 def test_delete_file(self, m1):
     """Test delete file works."""
     from pybossa.jobs import delete_file
     delete_file('f', 'a')
     m1.assert_called_with('f', 'a')