def test_should_create_a_filename_with_the_dotcompress_suffix(self):
        with tmpdir() as directory:
            tmp_file = tempfile.NamedTemporaryFile(dir=directory, delete=False)
            new_name = archivebot._rename(tmp_file.name)
            self.assertTrue(os.path.basename(new_name) in ".compress")
dataset/ETHPy150Open abusesa/abusehelper/abusehelper/bots/archivebot/tests/test_archivebot.py/TestRename.test_should_create_a_filename_with_the_dotcompress_suffix/swapped operands of `in`