MCPcopy
hub / github.com/tanelpoder/0xtools / main

Function main

xtop/tests/test_column_selection.py:192–220  ·  view source on GitHub ↗

Run all tests

()

Source from the content-addressed store, hash-verified

190
191
192def main():
193 """Run all tests"""
194 print("=" * 60)
195 print("Column Selection Tests")
196 print("=" * 60)
197
198 tests = [
199 test_unified_column_list,
200 test_filter_columns_by_pattern,
201 test_source_label_mapping,
202 test_time_columns
203 ]
204
205 failed = []
206 for test in tests:
207 try:
208 if not test():
209 failed.append(test.__name__)
210 except Exception as e:
211 print(f"✗ {test.__name__} failed: {e}")
212 failed.append(test.__name__)
213
214 print("\n" + "=" * 60)
215 if not failed:
216 print("✅ All column selection tests passed!")
217 return 0
218 else:
219 print(f"❌ {len(failed)} tests failed: {', '.join(failed)}")
220 return 1
221
222
223if __name__ == "__main__":

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected