MCPcopy Create free account
hub / github.com/FastLED/FastLED / main

Function main

ci/docker_utils/test_container_db.py:136–163  ·  view source on GitHub ↗

Run all tests.

()

Source from the content-addressed store, hash-verified

134
135
136def main():
137 """Run all tests."""
138 print("Running container database tests...")
139 print()
140
141 try:
142 test_database_initialization()
143 test_record_operations()
144 test_orphan_detection()
145 test_process_exists()
146
147 print()
148 print("✅ All tests passed!")
149 return 0
150 except AssertionError as e:
151 print()
152 print(f"❌ Test failed: {e}")
153 return 1
154 except KeyboardInterrupt as ki:
155 handle_keyboard_interrupt(ki)
156 raise
157 except Exception as e:
158 print()
159 print(f"❌ Unexpected error: {e}")
160 import traceback
161
162 traceback.print_exc()
163 return 1
164
165
166if __name__ == "__main__":

Callers 1

Calls 6

test_record_operationsFunction · 0.85
test_orphan_detectionFunction · 0.85
test_process_existsFunction · 0.85
printFunction · 0.50

Tested by

no test coverage detected