1diff --git a/flake8_plugins/flake8_class_attributes_plugin/tests/conftest.py b/flake8_plugins/flake8_class_attributes_plugin/tests/conftest.py
2index 1ad762aed..c91078dcf 100644
3--- a/flake8_plugins/flake8_class_attributes_plugin/tests/conftest.py
4+++ b/flake8_plugins/flake8_class_attributes_plugin/tests/conftest.py
5@@ -1,6 +1,7 @@
6 import ast
7 import os
8
9+import flake8
10 from flake8.options.manager import OptionManager
11
12 from flake8_plugins.flake8_class_attributes_plugin.flake8_class_attributes.checker import ClassAttributesChecker
13@@ -17,7 +18,11 @@ def run_validator_for_test_file(filename, max_annotations_complexity=None,
14 raw_content = file_handler.read()
15 tree = ast.parse(raw_content)
16
17- options = OptionManager('flake8_class_attributes_order', '0.1.3')
18+ options = OptionManager(
19+ version=flake8.__version__,
20+ plugin_versions='flake8_class_attributes_order: 0.1.3',
21+ parents=[],
22+ )
23 options.use_class_attributes_order_strict_mode = strict_mode
24 options.class_attributes_order = attributes_order
25 ClassAttributesChecker.parse_options(options)