
from cookiecutter.compat import unittest, which


def test_existing_command():
    assert which('cookiecutter')


def test_non_existing_command():
    assert not which('stringthatisntashellcommand')


from cookiecutter.compat import which


def test_existing_command():
    assert which('cookiecutter')


def test_non_existing_command():
    assert not which('stringthatisntashellcommand')

Remove unused import of compat unittest
Remove unused import of compat unittest

  
- from cookiecutter.compat import unittest, which
+ from cookiecutter.compat import which
  
  
  def test_existing_command():
      assert which('cookiecutter')
  
  
  def test_non_existing_command():
      assert not which('stringthatisntashellcommand')
  
Remove unused import of compat unittest
## Code Before:

from cookiecutter.compat import unittest, which


def test_existing_command():
    assert which('cookiecutter')


def test_non_existing_command():
    assert not which('stringthatisntashellcommand')

## Instruction:
Remove unused import of compat unittest
## Code After:

from cookiecutter.compat import which


def test_existing_command():
    assert which('cookiecutter')


def test_non_existing_command():
    assert not which('stringthatisntashellcommand')
