Coverage for api/examples/__init__.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-07 06:14 +0000

1from api.examples.audio_requests import ( 

2 audio_complain_curl, 

3 audio_detail_curl, 

4 audio_related_curl, 

5 audio_search_curl, 

6 audio_search_list_curl, 

7 audio_stats_curl, 

8 audio_waveform_curl, 

9) 

10from api.examples.audio_responses import ( 

11 audio_complain_201_example, 

12 audio_detail_200_example, 

13 audio_detail_404_example, 

14 audio_related_200_example, 

15 audio_related_404_example, 

16 audio_search_200_example, 

17 audio_search_400_example, 

18 audio_stats_200_example, 

19 audio_waveform_200_example, 

20 audio_waveform_404_example, 

21) 

22from api.examples.image_requests import ( 

23 image_complain_curl, 

24 image_detail_curl, 

25 image_oembed_curl, 

26 image_related_curl, 

27 image_search_curl, 

28 image_search_list_curl, 

29 image_stats_curl, 

30) 

31from api.examples.image_responses import ( 

32 image_complain_201_example, 

33 image_detail_200_example, 

34 image_detail_404_example, 

35 image_oembed_200_example, 

36 image_related_200_example, 

37 image_search_200_example, 

38 image_search_400_example, 

39 image_stats_200_example, 

40) 

41from api.examples.oauth2_requests import ( 

42 auth_key_info_curl, 

43 auth_register_curl, 

44 auth_token_curl, 

45) 

46from api.examples.oauth2_responses import ( 

47 auth_key_info_200_example, 

48 auth_register_201_example, 

49 auth_token_200_example, 

50) 

51 

52 

53audio_mappings = { 

54 audio_search_curl: audio_search_200_example, 

55 audio_stats_curl: audio_stats_200_example, 

56 audio_detail_curl: audio_detail_200_example, 

57 audio_complain_curl: audio_complain_201_example, 

58} 

59image_mappings = { 

60 image_search_curl: image_search_200_example, 

61 image_stats_curl: image_stats_200_example, 

62 image_detail_curl: image_detail_200_example, 

63 image_complain_curl: image_complain_201_example, 

64 image_oembed_curl: image_oembed_200_example, 

65}