Files
blender-dev-tools/check_blender_release/check_module_requests.py
Campbell Barton 405373b86f Cleanup: remove <pep8 compliant> comment
This is no longer necessary, see: T98554.
2022-06-03 12:09:40 +10:00

27 lines
624 B
Python

#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0-or-later
import unittest
from check_utils import (sliceCommandLineArguments,
SceiptUnitTesting)
class UnitTesting(SceiptUnitTesting):
def test_requestsImports(self):
self.checkScript("requests_import")
def test_requestsBasicAccess(self):
self.checkScript("requests_basic_access")
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()