'Fabric should refuse to load a non-package directory.'

def test_find_fabfile_should_refuse_fake_package(self):

    path = self.mkfile('foo.py', '')
    name = os.path.dirname(path)
    assert (find_fabfile([name]) is None)
