def test_minify(self):
    'Tests _minify with an invalid filepath.'
    with self.assertRaises(subprocess.CalledProcessError) as called_process:
        build._minify(INVALID_INPUT_FILEPATH, INVALID_OUTPUT_FILEPATH)
    self.assertEqual(called_process.exception.returncode, 1)
Tests _minify with an invalid filepath.
def test_minify(self):
    
    with self.assertRaises(subprocess.CalledProcessError) as called_process:
        build._minify(INVALID_INPUT_FILEPATH, INVALID_OUTPUT_FILEPATH)
    self.assertEqual(called_process.exception.returncode, 1)