@@ -537,6 +537,7 @@ def test_successful_build(
537537            "commit" : "a1b2c3" ,
538538            "error" : "" ,
539539            "builder" : mock .ANY ,
540+             "task_executed_at" : mock .ANY ,
540541        }
541542
542543        # Update build state: installing 
@@ -545,6 +546,7 @@ def test_successful_build(
545546            "state" : "installing" ,
546547            "commit" : "a1b2c3" ,
547548            "builder" : mock .ANY ,
549+             "task_executed_at" : mock .ANY ,
548550            "readthedocs_yaml_path" : None ,
549551            "error" : "" ,
550552            # We update the `config` field at the same time we send the 
@@ -618,6 +620,7 @@ def test_successful_build(
618620            "readthedocs_yaml_path" : None ,
619621            "config" : mock .ANY ,
620622            "builder" : mock .ANY ,
623+             "task_executed_at" : mock .ANY ,
621624            "error" : "" ,
622625        }
623626        # Update build state: uploading 
@@ -628,6 +631,7 @@ def test_successful_build(
628631            "readthedocs_yaml_path" : None ,
629632            "config" : mock .ANY ,
630633            "builder" : mock .ANY ,
634+             "task_executed_at" : mock .ANY ,
631635            "error" : "" ,
632636        }
633637        # Update version state 
@@ -654,6 +658,7 @@ def test_successful_build(
654658            "readthedocs_yaml_path" : None ,
655659            "config" : mock .ANY ,
656660            "builder" : mock .ANY ,
661+             "task_executed_at" : mock .ANY ,
657662            "length" : mock .ANY ,
658663            "success" : True ,
659664            "error" : "" ,
@@ -811,6 +816,7 @@ def test_successful_build_with_temporary_s3_credentials(
811816            "commit" : "a1b2c3" ,
812817            "error" : "" ,
813818            "builder" : mock .ANY ,
819+             "task_executed_at" : mock .ANY ,
814820        }
815821
816822        # Update build state: installing 
@@ -819,6 +825,7 @@ def test_successful_build_with_temporary_s3_credentials(
819825            "state" : "installing" ,
820826            "commit" : "a1b2c3" ,
821827            "builder" : mock .ANY ,
828+             "task_executed_at" : mock .ANY ,
822829            "readthedocs_yaml_path" : None ,
823830            "error" : "" ,
824831            # We update the `config` field at the same time we send the 
@@ -900,6 +907,7 @@ def test_successful_build_with_temporary_s3_credentials(
900907            "readthedocs_yaml_path" : None ,
901908            "config" : mock .ANY ,
902909            "builder" : mock .ANY ,
910+             "task_executed_at" : mock .ANY ,
903911            "error" : "" ,
904912        }
905913        # Update build state: uploading 
@@ -910,6 +918,7 @@ def test_successful_build_with_temporary_s3_credentials(
910918            "readthedocs_yaml_path" : None ,
911919            "config" : mock .ANY ,
912920            "builder" : mock .ANY ,
921+             "task_executed_at" : mock .ANY ,
913922            "error" : "" ,
914923        }
915924
@@ -944,6 +953,7 @@ def test_successful_build_with_temporary_s3_credentials(
944953            "readthedocs_yaml_path" : None ,
945954            "config" : mock .ANY ,
946955            "builder" : mock .ANY ,
956+             "task_executed_at" : mock .ANY ,
947957            "length" : mock .ANY ,
948958            "success" : True ,
949959            "error" : "" ,
@@ -1031,6 +1041,7 @@ def test_failed_build(
10311041        assert  build_status_request .path  ==  "/api/v2/build/1/" 
10321042        assert  build_status_request .json () ==  {
10331043            "builder" : mock .ANY ,
1044+             "task_executed_at" : mock .ANY ,
10341045            "commit" : self .build .commit ,
10351046            "error" : "" ,  # We are not sending ``error`` anymore 
10361047            "id" : self .build .pk ,
@@ -1085,6 +1096,7 @@ def test_cancelled_build(
10851096        assert  build_status_request .path  ==  "/api/v2/build/1/" 
10861097        assert  build_status_request .json () ==  {
10871098            "builder" : mock .ANY ,
1099+             "task_executed_at" : mock .ANY ,
10881100            "commit" : self .build .commit ,
10891101            "error" : "" ,  # We are not sending ``error`` anymore 
10901102            "id" : self .build .pk ,
@@ -2968,6 +2980,7 @@ def test_config_file_exception(self, load_yaml_config):
29682980            "error" : "" ,  # We not sending "error" anymore 
29692981            "success" : False ,
29702982            "builder" : mock .ANY ,
2983+             "task_executed_at" : mock .ANY ,
29712984            "length" : 0 ,
29722985        }
29732986
0 commit comments