@@ -129,22 +129,20 @@ def test_one_minute_remaining(self):
129129 def test_cli_invocation (self ):
130130 """CLI: calling via subprocess produces expected output."""
131131 import subprocess
132+
132133 helper_path = os .path .join (os .path .dirname (__file__ ), ".." , "utils" , "compute-time-until-meeting.py" )
133134 result = subprocess .run (
134- ["python3" , helper_path , "today" , "14" , "10:00" ],
135- capture_output = True , text = True , check = True
135+ ["python3" , helper_path , "today" , "14" , "10:00" ], capture_output = True , text = True , check = True
136136 )
137137 self .assertEqual (result .returncode , 0 )
138138 self .assertEqual (result .stdout .strip (), "4 hours" )
139139
140140 def test_cli_missing_args (self ):
141141 """CLI: missing arguments should exit with error."""
142142 import subprocess
143+
143144 helper_path = os .path .join (os .path .dirname (__file__ ), ".." , "utils" , "compute-time-until-meeting.py" )
144- result = subprocess .run (
145- ["python3" , helper_path ],
146- capture_output = True , text = True , check = False
147- )
145+ result = subprocess .run (["python3" , helper_path ], capture_output = True , text = True , check = False )
148146 self .assertEqual (result .returncode , 1 )
149147
150148
0 commit comments