diff --git a/cqlengine/tests/management/test_compaction_settings.py b/cqlengine/tests/management/test_compaction_settings.py
index <HASH>..<HASH> 100644
--- a/cqlengine/tests/management/test_compaction_settings.py
+++ b/cqlengine/tests/management/test_compaction_settings.py
@@ -119,8 +119,12 @@ class AlterTableTest(BaseCassEngTestCase):
 
 class EmptyCompactionTest(BaseCassEngTestCase):
     def test_empty_compaction(self):
-        self.model = copy.deepcopy(CompactionModel)
-        result = get_compaction_options(self.model)
+        class EmptyCompactionModel(Model):
+            __compaction__ = None
+            cid = columns.UUID(primary_key=True)
+            name = columns.Text()
+
+        result = get_compaction_options(EmptyCompactionModel)
         self.assertEqual({}, result)
fixed broken test due to weird copying issue