@@ -9,15 +9,15 @@ def test_function_app_basic(self):
9
9
dd = datetime .strptime ("2024-10-13T01:05:03" , "%Y-%m-%dT%H:%M:%S" )
10
10
req_body = {"callsign" :"KI7HSG" , "source" : "pota" , "frequency" : "14.074" , "mode" : "FT8" , "wwffRef" :"US-0052" }
11
11
content = spotbot .create_content (req_body , dd )
12
- expected = { 'content' : ' KI7HSG | [pota](https://api.pota.app/spot/comments/KI7HSG/US-0052) | freq: 14.074 | mode: FT8 | loc: US-0052 | 01:05', 'flags' : 4 }
13
- self .assertDictEqual (content , expected )
12
+ expected = ' KI7HSG | [pota](https://api.pota.app/spot/comments/KI7HSG/US-0052) | freq: 14.074 | mode: FT8 | loc: US-0052 | 01:05'
13
+ self .assertEqual (content , expected )
14
14
15
15
def test_function_app (self ):
16
16
dd = datetime .strptime ("2024-10-13T01:05:03" , "%Y-%m-%dT%H:%M:%S" )
17
17
req_body = {"callsign" :"KI7HSG" , "source" : "sotawatch" , "frequency" : "14.074" , "mode" : "FT8" , "summitRef" : "ABCD" }
18
18
content = spotbot .create_content (req_body , dd )
19
- expected = { 'content' : ' KI7HSG | [sotawatch](https://sotl.as/activators/KI7HSG) | freq: 14.074 | mode: FT8 | loc: ABCD | 01:05', 'flags' : 4 }
20
- self .assertDictEqual (content , expected )
19
+ expected = ' KI7HSG | [sotawatch](https://sotl.as/activators/KI7HSG) | freq: 14.074 | mode: FT8 | loc: ABCD | 01:05'
20
+ self .assertEqual (content , expected )
21
21
22
22
if __name__ == '__main__' :
23
23
unittest .main ()
0 commit comments