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

Function main

xtop/tests/test_modal_initial_display.py:137–164  ·  view source on GitHub ↗

Run all initial display tests

()

Source from the content-addressed store, hash-verified

135
136
137async def main():
138 """Run all initial display tests"""
139 print("=" * 60)
140 print("Column Modal Initial Display Tests")
141 print("=" * 60)
142
143 try:
144 # Test GroupingMenuScreen initial display
145 result1 = await test_grouping_modal_initial_display()
146
147 # Test LatencyColumnsScreen initial display
148 result2 = await test_latency_modal_initial_display()
149
150 if result1 and result2:
151 print("\n" + "=" * 60)
152 print("✅ All initial display tests passed!")
153 print("Modals correctly show all columns when first opened.")
154 print("=" * 60)
155 return 0
156 else:
157 print("\n❌ Some tests failed")
158 return 1
159
160 except Exception as e:
161 print(f"\n❌ Test failed with error: {e}")
162 import traceback
163 traceback.print_exc()
164 return 1
165
166
167if __name__ == "__main__":

Callers 1

Tested by

no test coverage detected