from unittest import TestCase

from dusty.preflight import _assert_executable_exists, PreflightException

class PreflightTest(TestCase):
    def test_assert_executable_exists(self):
        _assert_executable_exists('python')

    def test_assert_executable_exists_fails(self):
        with self.assertRaises(PreflightException):
            _assert_executable_exists('somecrazythingwhichforsuredoesnotexist')

Add tests for assert executable
Add tests for assert executable
