Files
test2/tools/check_blender_release/check_module_enabled.py
2025-01-04 20:27:58 +11:00

32 lines
595 B
Python

#!/usr/bin/env python3
# SPDX-FileCopyrightText: 2023 Blender Authors
#
# SPDX-License-Identifier: GPL-2.0-or-later
__all__ = (
"main",
)
import unittest
from check_utils import (
ScriptUnitTesting,
sliceCommandLineArguments,
)
class UnitTesting(ScriptUnitTesting):
def test_modulesEnabled(self):
self.checkScript("modules_enabled")
def main():
# Slice command line arguments by '--'
unittest_args, _parser_args = sliceCommandLineArguments()
# Construct and run unit tests.
unittest.main(argv=unittest_args)
if __name__ == "__main__":
main()