def test_remove_from_bin_no_file_warns(self):
        self.directory.logger.warn = Mock()
        self.directory.remove_from_bin('newfolder')
        assert self.directory.logger.warn.called
If a file doesn't exist and is attempted to be removed, a warning should fire
dataset/ETHPy150Open toumorokoshi/sprinter/tests/core/test_directory.py/TestDirectory.test_remove_from_bin_no_file_warns