otrs-somconnexio 0.4.4__py2.py3-none-any.whl → 0.7.3__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. otrs_somconnexio/client.py +110 -42
  2. otrs_somconnexio/exceptions.py +44 -11
  3. otrs_somconnexio/otrs_models/abstract_article.py +3 -0
  4. otrs_somconnexio/otrs_models/adsl_data.py +7 -37
  5. otrs_somconnexio/otrs_models/adsl_dynamic_fields.py +5 -4
  6. otrs_somconnexio/otrs_models/adsl_ticket.py +9 -5
  7. otrs_somconnexio/otrs_models/configurations/changes/__init__.py +0 -0
  8. otrs_somconnexio/otrs_models/configurations/changes/add_data.py +13 -0
  9. otrs_somconnexio/otrs_models/configurations/changes/change_email.py +16 -0
  10. otrs_somconnexio/otrs_models/configurations/changes/change_iban.py +8 -0
  11. otrs_somconnexio/otrs_models/configurations/changes/change_owner.py +19 -0
  12. otrs_somconnexio/otrs_models/configurations/changes/change_pack.py +6 -0
  13. otrs_somconnexio/otrs_models/configurations/changes/change_shared_bond.py +7 -0
  14. otrs_somconnexio/otrs_models/configurations/changes/change_tariff.py +29 -0
  15. otrs_somconnexio/otrs_models/configurations/changes/change_tariff_adsl.py +20 -0
  16. otrs_somconnexio/otrs_models/configurations/changes/change_tariff_fiber.py +11 -0
  17. otrs_somconnexio/otrs_models/configurations/provision/__init__.py +0 -0
  18. otrs_somconnexio/otrs_models/configurations/{adsl_ticket.py → provision/adsl_ticket.py} +2 -2
  19. otrs_somconnexio/otrs_models/configurations/{fiber_ticket.py → provision/fiber_ticket.py} +6 -3
  20. otrs_somconnexio/otrs_models/configurations/provision/mobile_ticket.py +44 -0
  21. otrs_somconnexio/otrs_models/configurations/provision/router_4G_ticket.py +8 -0
  22. otrs_somconnexio/otrs_models/configurations/provision/switchboard_ticket.py +10 -0
  23. otrs_somconnexio/otrs_models/configurations/querys/__init__.py +0 -0
  24. otrs_somconnexio/otrs_models/configurations/querys/check_coverage.py +16 -0
  25. otrs_somconnexio/otrs_models/configurations/querys/we_call_you.py +26 -0
  26. otrs_somconnexio/otrs_models/coverage/adsl.py +1 -1
  27. otrs_somconnexio/otrs_models/coverage/asociatel_fiber.py +6 -0
  28. otrs_somconnexio/otrs_models/coverage/mm_fiber.py +7 -0
  29. otrs_somconnexio/otrs_models/coverage/orange_fiber.py +5 -0
  30. otrs_somconnexio/otrs_models/coverage/vdf_fiber.py +8 -0
  31. otrs_somconnexio/otrs_models/coverage_article.py +20 -4
  32. otrs_somconnexio/otrs_models/coverage_ticket.py +1 -0
  33. otrs_somconnexio/otrs_models/customer_data.py +15 -3
  34. otrs_somconnexio/otrs_models/customer_user.py +3 -9
  35. otrs_somconnexio/otrs_models/fiber_data.py +17 -33
  36. otrs_somconnexio/otrs_models/fiber_dynamic_fields.py +58 -4
  37. otrs_somconnexio/otrs_models/fiber_ticket.py +9 -5
  38. otrs_somconnexio/otrs_models/internet_data.py +79 -0
  39. otrs_somconnexio/otrs_models/internet_dynamic_fields.py +65 -26
  40. otrs_somconnexio/otrs_models/mobile_data.py +49 -5
  41. otrs_somconnexio/otrs_models/mobile_dynamic_fields.py +50 -8
  42. otrs_somconnexio/otrs_models/mobile_ticket.py +20 -4
  43. otrs_somconnexio/otrs_models/process_ticket/internet.py +40 -97
  44. otrs_somconnexio/otrs_models/process_ticket/mobile.py +63 -43
  45. otrs_somconnexio/otrs_models/process_ticket/process_ticket.py +74 -0
  46. otrs_somconnexio/otrs_models/providers.py +4 -3
  47. otrs_somconnexio/otrs_models/provision_article.py +7 -5
  48. otrs_somconnexio/otrs_models/provision_dynamic_fields.py +76 -11
  49. otrs_somconnexio/otrs_models/provision_ticket.py +52 -28
  50. otrs_somconnexio/otrs_models/responsible_data.py +6 -0
  51. otrs_somconnexio/otrs_models/router_4G_data.py +8 -0
  52. otrs_somconnexio/otrs_models/router_4G_dynamic_fields.py +9 -0
  53. otrs_somconnexio/otrs_models/router_4G_ticket.py +26 -0
  54. otrs_somconnexio/otrs_models/service.py +41 -12
  55. otrs_somconnexio/otrs_models/switchboard_data.py +58 -0
  56. otrs_somconnexio/otrs_models/switchboard_dynamic_fields.py +94 -0
  57. otrs_somconnexio/otrs_models/switchboard_header_data.py +18 -0
  58. otrs_somconnexio/otrs_models/switchboard_header_dynamic_fields.py +80 -0
  59. otrs_somconnexio/otrs_models/switchboard_header_ticket.py +30 -0
  60. otrs_somconnexio/otrs_models/switchboard_ticket.py +35 -0
  61. otrs_somconnexio/otrs_models/telecom_company.py +69 -69
  62. otrs_somconnexio/otrs_models/ticket_factory.py +34 -11
  63. otrs_somconnexio/otrs_models/ticket_types/__init__.py +0 -0
  64. otrs_somconnexio/otrs_models/ticket_types/add_data_ticket.py +36 -0
  65. otrs_somconnexio/otrs_models/ticket_types/base_change_tariff_ba_ticket.py +23 -0
  66. otrs_somconnexio/otrs_models/ticket_types/base_change_ticket.py +33 -0
  67. otrs_somconnexio/otrs_models/ticket_types/base_customer_ticket.py +24 -0
  68. otrs_somconnexio/otrs_models/ticket_types/base_ticket.py +147 -0
  69. otrs_somconnexio/otrs_models/ticket_types/change_email_ticket.py +40 -0
  70. otrs_somconnexio/otrs_models/ticket_types/change_iban_ticket.py +39 -0
  71. otrs_somconnexio/otrs_models/ticket_types/change_owner_ticket.py +132 -0
  72. otrs_somconnexio/otrs_models/ticket_types/change_pack_not_shared_data.py +36 -0
  73. otrs_somconnexio/otrs_models/ticket_types/change_personal_email_ticket.py +31 -0
  74. otrs_somconnexio/otrs_models/ticket_types/change_shared_bond_ticket.py +35 -0
  75. otrs_somconnexio/otrs_models/ticket_types/change_tariff_adsl_landline_ticket.py +30 -0
  76. otrs_somconnexio/otrs_models/ticket_types/change_tariff_adsl_out_landline_ticket.py +30 -0
  77. otrs_somconnexio/otrs_models/ticket_types/change_tariff_adsl_ticket.py +42 -0
  78. otrs_somconnexio/otrs_models/ticket_types/change_tariff_fiber_ticket.py +43 -0
  79. otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket.py +87 -0
  80. otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket_mobile_pack.py +51 -0
  81. otrs_somconnexio/otrs_models/ticket_types/change_tariff_ticket_shared_bonds.py +22 -0
  82. otrs_somconnexio/otrs_models/ticket_types/check_coverage_ticket.py +52 -0
  83. otrs_somconnexio/otrs_models/ticket_types/we_call_you_ticket.py +53 -0
  84. otrs_somconnexio/otrs_models/vf_provisioning_article.py +4 -2
  85. otrs_somconnexio/responses/ticket_creation.py +5 -4
  86. otrs_somconnexio/services/activate_change_tarriff_mobile_tickets.py +13 -0
  87. otrs_somconnexio/services/base_get_ticket_by_number.py +22 -0
  88. otrs_somconnexio/services/change_to_confirm_ticket.py +45 -0
  89. otrs_somconnexio/services/get_mobile_related_tickets.py +11 -0
  90. otrs_somconnexio/services/get_sharing_data_mobile_tickets.py +65 -0
  91. otrs_somconnexio/services/get_ticket_title.py +26 -0
  92. otrs_somconnexio/services/mapping_mobile_minutes.py +5 -5
  93. otrs_somconnexio/services/mapping_services.py +8 -6
  94. otrs_somconnexio/services/move_sharing_data_mobile_tickets.py +13 -0
  95. otrs_somconnexio/services/search_tickets_mobile_change_tariff.py +25 -0
  96. otrs_somconnexio/services/search_tickets_service.py +57 -0
  97. otrs_somconnexio/services/set_SIM_recieved_mobile_ticket.py +107 -0
  98. otrs_somconnexio/services/set_SIM_returned_mobile_ticket.py +37 -0
  99. otrs_somconnexio/services/set_fiber_contract_code_mobile_ticket.py +21 -0
  100. otrs_somconnexio/services/unblock_mobile_pack_ticket.py +48 -0
  101. otrs_somconnexio/services/update_process_ticket_with_coverage_tickets_info_service.py +10 -10
  102. otrs_somconnexio/services/update_ticket_DF.py +18 -0
  103. otrs_somconnexio/services/update_ticket_with_provider_info.py +2 -3
  104. otrs_somconnexio/user_management_client/client.py +15 -27
  105. otrs_somconnexio/user_management_client/user_management_response.py +2 -3
  106. {otrs_somconnexio-0.4.4.dist-info → otrs_somconnexio-0.7.3.dist-info}/METADATA +19 -4
  107. otrs_somconnexio-0.7.3.dist-info/RECORD +202 -0
  108. {otrs_somconnexio-0.4.4.dist-info → otrs_somconnexio-0.7.3.dist-info}/WHEEL +1 -1
  109. tests/data/otrs_raw_responses.py +12 -6
  110. tests/integration/test_change_customer_language.py +14 -19
  111. tests/integration/test_ticket_factory.py +383 -106
  112. tests/integration/test_update_ticket_with_coverage_data.py +53 -27
  113. tests/otrs_models/common_helper.py +9 -0
  114. tests/otrs_models/configuration/changes/__init__.py +0 -0
  115. tests/otrs_models/configuration/changes/test_change_tariff_ticket.py +91 -0
  116. tests/otrs_models/configuration/provision/__init__.py +0 -0
  117. tests/otrs_models/configuration/provision/test_adsl_ticket.py +30 -0
  118. tests/otrs_models/configuration/provision/test_fiber_ticket.py +32 -0
  119. tests/otrs_models/configuration/provision/test_mobile_ticket.py +62 -0
  120. tests/otrs_models/process_ticket/test_internet_process_ticket.py +54 -60
  121. tests/otrs_models/process_ticket/test_mobile_process_ticket.py +56 -33
  122. tests/otrs_models/test_abstract_article.py +3 -2
  123. tests/otrs_models/test_adsl_data.py +11 -4
  124. tests/otrs_models/test_adsl_dynamic_fields.py +217 -100
  125. tests/otrs_models/test_adsl_ticket.py +78 -83
  126. tests/otrs_models/test_coverage_article.py +9 -7
  127. tests/otrs_models/test_coverage_ticket.py +4 -2
  128. tests/otrs_models/test_customer_user.py +23 -20
  129. tests/otrs_models/test_fiber_data.py +20 -4
  130. tests/otrs_models/test_fiber_dynamic_fields.py +458 -134
  131. tests/otrs_models/test_fiber_ticket.py +113 -79
  132. tests/otrs_models/test_mobile_data.py +14 -3
  133. tests/otrs_models/test_mobile_dynamic_fields.py +335 -74
  134. tests/otrs_models/test_mobile_paused_ticket.py +35 -0
  135. tests/otrs_models/test_mobile_ticket.py +82 -96
  136. tests/otrs_models/test_provision_article.py +49 -0
  137. tests/otrs_models/test_router_4G_data.py +43 -0
  138. tests/otrs_models/test_router_4G_dynamic_fields.py +619 -0
  139. tests/otrs_models/test_router_4G_ticket.py +135 -0
  140. tests/otrs_models/test_service.py +58 -14
  141. tests/otrs_models/test_switchboard_data.py +37 -0
  142. tests/otrs_models/test_switchboard_dynamic_fields.py +197 -0
  143. tests/otrs_models/test_switchboard_header_data.py +18 -0
  144. tests/otrs_models/test_switchboard_header_dynamic_fields.py +119 -0
  145. tests/otrs_models/test_switchboard_header_ticket.py +127 -0
  146. tests/otrs_models/test_switchboard_ticket.py +147 -0
  147. tests/otrs_models/test_telecom_company.py +16 -16
  148. tests/otrs_models/test_ticket_factory.py +73 -16
  149. tests/otrs_models/test_vf_provisioning_article.py +6 -5
  150. tests/otrs_models/ticket_types/__init__.py +0 -0
  151. tests/otrs_models/ticket_types/test_add_data.py +79 -0
  152. tests/otrs_models/ticket_types/test_change_email.py +163 -0
  153. tests/otrs_models/ticket_types/test_change_iban.py +82 -0
  154. tests/otrs_models/ticket_types/test_change_owner.py +277 -0
  155. tests/otrs_models/ticket_types/test_change_pack_not_shared_data.py +77 -0
  156. tests/otrs_models/ticket_types/test_change_personal_email.py +81 -0
  157. tests/otrs_models/ticket_types/test_change_tariff.py +435 -0
  158. tests/otrs_models/ticket_types/test_change_tariff_adsl_landline.py +115 -0
  159. tests/otrs_models/ticket_types/test_change_tariff_adsl_out_landline.py +115 -0
  160. tests/otrs_models/ticket_types/test_change_tariff_fiber.py +175 -0
  161. tests/otrs_models/ticket_types/test_change_tariff_mobile_pack.py +151 -0
  162. tests/otrs_models/ticket_types/test_change_tariff_shared_bonds.py +65 -0
  163. tests/otrs_models/ticket_types/test_check_coverage.py +106 -0
  164. tests/otrs_models/ticket_types/test_shared_bond.py +80 -0
  165. tests/otrs_models/ticket_types/test_we_call_you.py +108 -0
  166. tests/responses/test_ticket_creation.py +4 -4
  167. tests/services/test_activate_change_tariff_mobile_tickets.py +45 -0
  168. tests/services/test_change_to_confirm_ticket.py +80 -0
  169. tests/services/test_get_mobile_related_tickets.py +39 -0
  170. tests/services/test_get_sharing_data_mobile_tickets.py +127 -0
  171. tests/services/test_mapping_mobile_minutes.py +8 -8
  172. tests/services/{test_mappint_services.py → test_mapping_services.py} +9 -9
  173. tests/services/test_move_sharing_data_mobile_tickets.py +43 -0
  174. tests/services/test_search_tickets_mobile_change_tariff.py +84 -0
  175. tests/services/test_search_tickets_service.py +166 -0
  176. tests/services/test_set_SIM_recieved_mobile_ticket_service.py +211 -0
  177. tests/services/test_set_SIM_returned_mobile_ticket_service.py +59 -0
  178. tests/services/test_set_fiber_contract_code_mobile_ticket_service.py +47 -0
  179. tests/services/test_unblock_mobile_pack_ticket.py +224 -0
  180. tests/services/test_update_process_ticket_with_VF_provisioning.py +15 -14
  181. tests/services/test_update_process_ticket_with_coverage_tickets_info_service.py +22 -10
  182. tests/services/test_update_ticket_with_provider_info.py +16 -15
  183. tests/user_management_client/test_client.py +41 -58
  184. tests/user_management_client/test_user_management_response.py +13 -26
  185. otrs_somconnexio/otrs_models/configurations/mobile_ticket.py +0 -17
  186. otrs_somconnexio/otrs_models/coverage/mm_fibre.py +0 -7
  187. otrs_somconnexio/otrs_models/coverage/vdf_fibre.py +0 -8
  188. otrs_somconnexio-0.4.4.dist-info/RECORD +0 -95
  189. tests/otrs_models/configuration/test_adsl_ticket.py +0 -45
  190. tests/otrs_models/configuration/test_fiber_ticket.py +0 -45
  191. tests/otrs_models/configuration/test_mobile_ticket.py +0 -45
  192. {otrs_somconnexio-0.4.4.dist-info → otrs_somconnexio-0.7.3.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,91 @@
1
+ # coding: utf-8
2
+ import unittest
3
+
4
+ from mock import Mock
5
+
6
+ from otrs_somconnexio.otrs_models.configurations.changes.change_tariff import (
7
+ ChangeTariffExceptionalTicketConfiguration,
8
+ ChangeTariffSharedBondTicketConfiguration,
9
+ ChangeTariffTicketConfiguration,
10
+ )
11
+
12
+
13
+ class ChangeTariffTicketConfigurationTestCase(unittest.TestCase):
14
+ def test_init_with_injection(self):
15
+ custom_mobile_config = Mock(
16
+ spec=[
17
+ "mobile_process_id",
18
+ "mobile_activity_id",
19
+ "mobile_ticket_type",
20
+ "mobile_ticket_queue_id",
21
+ "mobile_ticket_state",
22
+ "mobile_ticket_priority",
23
+ ]
24
+ )
25
+
26
+ otrs_config = ChangeTariffTicketConfiguration(custom_mobile_config)
27
+
28
+ self.assertEqual(otrs_config.process_id, custom_mobile_config.mobile_process_id)
29
+ self.assertEqual(
30
+ otrs_config.activity_id, custom_mobile_config.mobile_activity_id
31
+ )
32
+ self.assertEqual(otrs_config.type, custom_mobile_config.mobile_ticket_type)
33
+ self.assertEqual(otrs_config.queue_id, custom_mobile_config.mobile_ticket_queue_id)
34
+ self.assertEqual(otrs_config.state, custom_mobile_config.mobile_ticket_state)
35
+ self.assertEqual(
36
+ otrs_config.priority, custom_mobile_config.mobile_ticket_priority
37
+ )
38
+
39
+
40
+ class ChangeTariffExceptionalTicketConfigurationTestCase(unittest.TestCase):
41
+ def test_init_with_injection(self):
42
+ custom_mobile_config = Mock(
43
+ spec=[
44
+ "mobile_process_id",
45
+ "mobile_activity_id",
46
+ "mobile_ticket_type",
47
+ "mobile_ticket_queue_id",
48
+ "mobile_ticket_state",
49
+ "mobile_ticket_priority",
50
+ ]
51
+ )
52
+
53
+ otrs_config = ChangeTariffExceptionalTicketConfiguration(custom_mobile_config)
54
+
55
+ self.assertEqual(otrs_config.process_id, custom_mobile_config.mobile_process_id)
56
+ self.assertEqual(
57
+ otrs_config.activity_id, custom_mobile_config.mobile_activity_id
58
+ )
59
+ self.assertEqual(otrs_config.type, custom_mobile_config.mobile_ticket_type)
60
+ self.assertEqual(otrs_config.queue_id, custom_mobile_config.mobile_ticket_queue_id)
61
+ self.assertEqual(otrs_config.state, custom_mobile_config.mobile_ticket_state)
62
+ self.assertEqual(
63
+ otrs_config.priority, custom_mobile_config.mobile_ticket_priority
64
+ )
65
+
66
+
67
+ class ChangeTariffShareBondTicketConfigurationTestCase(unittest.TestCase):
68
+ def test_init_with_injection(self):
69
+ custom_mobile_config = Mock(
70
+ spec=[
71
+ "mobile_process_id",
72
+ "mobile_activity_id",
73
+ "mobile_ticket_type",
74
+ "mobile_ticket_queue_id",
75
+ "mobile_ticket_state",
76
+ "mobile_ticket_priority",
77
+ ]
78
+ )
79
+
80
+ otrs_config = ChangeTariffSharedBondTicketConfiguration(custom_mobile_config)
81
+
82
+ self.assertEqual(otrs_config.process_id, custom_mobile_config.mobile_process_id)
83
+ self.assertEqual(
84
+ otrs_config.activity_id, custom_mobile_config.mobile_activity_id
85
+ )
86
+ self.assertEqual(otrs_config.type, custom_mobile_config.mobile_ticket_type)
87
+ self.assertEqual(otrs_config.queue_id, custom_mobile_config.mobile_ticket_queue_id)
88
+ self.assertEqual(otrs_config.state, custom_mobile_config.mobile_ticket_state)
89
+ self.assertEqual(
90
+ otrs_config.priority, custom_mobile_config.mobile_ticket_priority
91
+ )
File without changes
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ import unittest
3
+ from mock import Mock
4
+
5
+ from otrs_somconnexio.otrs_models.configurations.provision.adsl_ticket import (
6
+ ADSLTicketConfiguration,
7
+ )
8
+
9
+
10
+ class ADSLTicketConfigurationTestCase(unittest.TestCase):
11
+ def test_init_with_injection(self):
12
+ custom_adsl_config = Mock(
13
+ spec=[
14
+ "adsl_process_id",
15
+ "adsl_activity_id",
16
+ "adsl_ticket_type",
17
+ "adsl_ticket_queue_id",
18
+ "adsl_ticket_state",
19
+ "adsl_ticket_proprity",
20
+ ]
21
+ )
22
+
23
+ otrs_config = ADSLTicketConfiguration(custom_adsl_config)
24
+
25
+ self.assertEqual(otrs_config.process_id, custom_adsl_config.adsl_process_id)
26
+ self.assertEqual(otrs_config.activity_id, custom_adsl_config.adsl_activity_id)
27
+ self.assertEqual(otrs_config.type, custom_adsl_config.adsl_ticket_type)
28
+ self.assertEqual(otrs_config.queue_id, custom_adsl_config.adsl_ticket_queue_id)
29
+ self.assertEqual(otrs_config.state, custom_adsl_config.adsl_ticket_state)
30
+ self.assertEqual(otrs_config.priority, custom_adsl_config.adsl_ticket_proprity)
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ import unittest
3
+ from mock import Mock
4
+
5
+ from otrs_somconnexio.otrs_models.configurations.provision.fiber_ticket import (
6
+ FiberTicketConfiguration,
7
+ )
8
+
9
+
10
+ class FiberTicketConfigurationTestCase(unittest.TestCase):
11
+ def test_init_with_injection(self):
12
+ custom_fiber_config = Mock(
13
+ spec=[
14
+ "fiber_process_id",
15
+ "fiber_activity_id",
16
+ "fiber_ticket_type",
17
+ "fiber_ticket_queue_id",
18
+ "fiber_ticket_state",
19
+ "fiber_ticket_proprity",
20
+ ]
21
+ )
22
+
23
+ otrs_config = FiberTicketConfiguration(custom_fiber_config)
24
+
25
+ self.assertEqual(otrs_config.process_id, custom_fiber_config.fiber_process_id)
26
+ self.assertEqual(otrs_config.activity_id, custom_fiber_config.fiber_activity_id)
27
+ self.assertEqual(otrs_config.type, custom_fiber_config.fiber_ticket_type)
28
+ self.assertEqual(otrs_config.queue_id, custom_fiber_config.fiber_ticket_queue_id)
29
+ self.assertEqual(otrs_config.state, custom_fiber_config.fiber_ticket_state)
30
+ self.assertEqual(
31
+ otrs_config.priority, custom_fiber_config.fiber_ticket_proprity
32
+ )
@@ -0,0 +1,62 @@
1
+ # coding: utf-8
2
+ import unittest
3
+ from mock import Mock
4
+
5
+ from otrs_somconnexio.otrs_models.configurations.provision.mobile_ticket import (
6
+ MobileTicketPausedConfiguration,
7
+ MobileTicketConfiguration,
8
+ )
9
+
10
+
11
+ class MobileTicketConfigurationTestCase(unittest.TestCase):
12
+ def test_init_with_injection(self):
13
+ custom_mobile_config = Mock(
14
+ spec=[
15
+ "mobile_process_id",
16
+ "mobile_activity_id",
17
+ "mobile_ticket_type",
18
+ "mobile_ticket_queue_id",
19
+ "mobile_ticket_state",
20
+ "mobile_ticket_priority",
21
+ ]
22
+ )
23
+
24
+ otrs_config = MobileTicketConfiguration(custom_mobile_config)
25
+
26
+ self.assertEqual(otrs_config.process_id, custom_mobile_config.mobile_process_id)
27
+ self.assertEqual(
28
+ otrs_config.activity_id, custom_mobile_config.mobile_activity_id
29
+ )
30
+ self.assertEqual(otrs_config.type, custom_mobile_config.mobile_ticket_type)
31
+ self.assertEqual(otrs_config.queue_id, custom_mobile_config.mobile_ticket_queue_id)
32
+ self.assertEqual(otrs_config.state, custom_mobile_config.mobile_ticket_state)
33
+ self.assertEqual(
34
+ otrs_config.priority, custom_mobile_config.mobile_ticket_priority
35
+ )
36
+
37
+
38
+ class MobileTicketPausedConfigurationTestCase(unittest.TestCase):
39
+ def test_init_with_injection(self):
40
+ custom_mobile_config = Mock(
41
+ spec=[
42
+ "mobile_process_id",
43
+ "mobile_activity_id",
44
+ "mobile_ticket_type",
45
+ "mobile_ticket_queue_id",
46
+ "mobile_ticket_state",
47
+ "mobile_ticket_priority",
48
+ ]
49
+ )
50
+
51
+ otrs_config = MobileTicketPausedConfiguration(custom_mobile_config)
52
+
53
+ self.assertEqual(otrs_config.process_id, custom_mobile_config.mobile_process_id)
54
+ self.assertEqual(
55
+ otrs_config.activity_id, custom_mobile_config.mobile_activity_id
56
+ )
57
+ self.assertEqual(otrs_config.type, custom_mobile_config.mobile_ticket_type)
58
+ self.assertEqual(otrs_config.queue_id, custom_mobile_config.mobile_ticket_queue_id)
59
+ self.assertEqual(otrs_config.state, custom_mobile_config.mobile_ticket_state)
60
+ self.assertEqual(
61
+ otrs_config.priority, custom_mobile_config.mobile_ticket_priority
62
+ )
@@ -10,34 +10,46 @@ from tests.data.otrs_raw_responses import OTRSTicketGetResponse
10
10
 
11
11
 
12
12
  class OTRSTicketResponseTestCase(unittest.TestCase):
13
- 'Test OTRS Ticket response parser'
13
+ "Test OTRS Ticket response parser"
14
14
 
15
15
  def test_otrs_ticket_get_parse_response(self):
16
- 'Instantiate a OTRSTicket from otrs_ticket_get_response'
16
+ "Instantiate a OTRSTicket from otrs_ticket_get_response"
17
17
  get_response = {
18
- "TicketID": "2",
19
- "TicketNumber": "2018081300000002",
20
- "State": "closed successful",
21
- "CustomerID": "example@mail.com",
22
- "DynamicField": [
23
- {"Name": "ProcessManagementActivityID", "Value": "Activity-2add0d7a8235a9c91f8c594b199f6b89"},
24
- {"Name": "ProcessManagementProcessID", "Value": "Process-441820b536cb5b9899d12f729e6f5e97"},
25
- {"Name": "IDContracte", "Value": "1022"},
26
- {"Name": "nomSoci", "Value": "Pere"},
27
- {"Name": "cognom1", "Value": "Pablo"},
28
- {"Name": "NIFNIESoci", "Value": "123456789"},
29
- {"Name": "correuElectronic", "Value": "pere.pablo@email.coop"}, # Party
30
- {"Name": "NIFNIEtitular", "Value": "123456789"},
31
- {"Name": "IBAN", "Value": "ES9000246912501234567891"},
32
- {"Name": "dataIniciFacturacio", "Value": "2018-12-10 00:00:00"},
33
- {"Name": "notes", "Value": "Notes..."},
34
- ],
35
- }
18
+ "TicketID": "2",
19
+ "TicketNumber": "2018081300000002",
20
+ "Queue": "Serveis de banda ampla::Provisi\xf3 ADSL::Realitzar comandes ADSL",
21
+ "QueueID": "22",
22
+ "State": "closed successful",
23
+ "CustomerID": "example@mail.com",
24
+ "DynamicField": [
25
+ {
26
+ "Name": "ProcessManagementActivityID",
27
+ "Value": "Activity-2add0d7a8235a9c91f8c594b199f6b89",
28
+ },
29
+ {
30
+ "Name": "ProcessManagementProcessID",
31
+ "Value": "Process-441820b536cb5b9899d12f729e6f5e97",
32
+ },
33
+ {"Name": "IDContracte", "Value": "1022"},
34
+ {"Name": "nomSoci", "Value": "Pere"},
35
+ {"Name": "cognom1", "Value": "Pablo"},
36
+ {"Name": "NIFNIESoci", "Value": "123456789"},
37
+ {"Name": "correuElectronic", "Value": "pere.pablo@email.coop"}, # Party
38
+ {"Name": "NIFNIEtitular", "Value": "123456789"},
39
+ {"Name": "IBAN", "Value": "ES9000246912501234567891"},
40
+ {"Name": "dataIniciFacturacio", "Value": "2018-12-10 00:00:00"},
41
+ ],
42
+ }
36
43
  ticket = InternetProcessTicket(Ticket(get_response), None)
37
44
 
38
45
  # Ticket
39
46
  self.assertEqual("2", ticket.id)
40
47
  self.assertEqual("2018081300000002", ticket.number)
48
+ self.assertEqual("22", ticket.queue_id)
49
+ self.assertEqual(
50
+ "Serveis de banda ampla::Provisi\xf3 ADSL::Realitzar comandes ADSL",
51
+ ticket.queue,
52
+ )
41
53
 
42
54
  # Contract
43
55
  self.assertEqual("1022", ticket.contract_id)
@@ -52,23 +64,22 @@ class OTRSTicketResponseTestCase(unittest.TestCase):
52
64
 
53
65
  expected_date = datetime.strptime("2018-12-10 00:00:00", "%Y-%m-%d %H:%M:%S")
54
66
  self.assertEqual(expected_date, ticket.invoices_start_date)
55
- self.assertEqual("Notes...", ticket.notes)
56
67
 
57
68
  def test_otrs_ticket_get_parse_response_adsl(self):
58
- OTRSTicketGetResponse['DynamicField'] = [
69
+ OTRSTicketGetResponse["DynamicField"] = [
59
70
  {"Name": "TecDelServei", "Value": "ADSL"},
60
71
  {"Name": "telefonFixAssignat", "Value": "987654321"},
61
72
  {"Name": "serveiFix", "Value": "no_phone"},
62
73
  {"Name": "minutsInclosos", "Value": "100"},
63
74
  {"Name": "mantenirFix", "Value": "dont_apply"},
64
75
  {"Name": "productBA", "Value": "ADSL20+"},
65
-
66
76
  # Review with Pol
67
77
  # TODO: Quins son d'ADSL i quins son de Fibra??
68
78
  {"Name": "proveidorPrevi", "Value": "Cap"},
69
79
  {"Name": "direccioServei", "Value": "Street 1234"},
70
80
  {"Name": "poblacioServei", "Value": "Barcelona"},
71
81
  {"Name": "provinciaServei", "Value": "Barcelona"},
82
+ {"Name": "codiProvinciaServei", "Value": "ES-B"},
72
83
  {"Name": "CPservei", "Value": "08123"},
73
84
  {"Name": "IDcomanda", "Value": "1234"},
74
85
  {"Name": "IDhogar", "Value": None},
@@ -80,12 +91,9 @@ class OTRSTicketResponseTestCase(unittest.TestCase):
80
91
  {"Name": "usuariPPP", "Value": "user"},
81
92
  {"Name": "serialNumber", "Value": "ababab"},
82
93
  ]
83
- service_mock = Mock(spec=['is_mobile'])
94
+ service_mock = Mock(spec=["is_mobile"])
84
95
  service_mock.is_mobile = False
85
- ticket = InternetProcessTicket(
86
- Ticket(OTRSTicketGetResponse),
87
- service_mock
88
- )
96
+ ticket = InternetProcessTicket(Ticket(OTRSTicketGetResponse), service_mock)
89
97
 
90
98
  self.assertEqual("adsl", ticket.service_technology)
91
99
  self.assertEqual("987654321", ticket.msisdn)
@@ -99,6 +107,7 @@ class OTRSTicketResponseTestCase(unittest.TestCase):
99
107
  self.assertEqual("Street 1234", ticket.service_address)
100
108
  self.assertEqual("Barcelona", ticket.service_city)
101
109
  self.assertEqual("Barcelona", ticket.service_subdivision)
110
+ self.assertEqual("ES-B", ticket.service_subdivision_code)
102
111
  self.assertEqual("08123", ticket.service_zip)
103
112
  self.assertEqual("1234", ticket.extid)
104
113
  self.assertEqual("1907", ticket.reference)
@@ -109,18 +118,15 @@ class OTRSTicketResponseTestCase(unittest.TestCase):
109
118
  self.assertEqual("ababab", ticket.ppp_password)
110
119
 
111
120
  def test_otrs_ticket_get_parse_response_fibre(self):
112
- OTRSTicketGetResponse['DynamicField'] = [
121
+ OTRSTicketGetResponse["DynamicField"] = [
113
122
  {"Name": "productBA", "Value": "Fibra100"},
114
123
  {"Name": "TecDelServei", "Value": "Fibra"},
115
124
  {"Name": "telefonFixAssignat", "Value": "987654321"},
116
125
  {"Name": "velocitatSollicitada", "Value": "100"},
117
126
  ]
118
- service_mock = Mock(spec=['is_mobile'])
127
+ service_mock = Mock(spec=["is_mobile"])
119
128
  service_mock.is_mobile = False
120
- ticket = InternetProcessTicket(
121
- Ticket(OTRSTicketGetResponse),
122
- service_mock
123
- )
129
+ ticket = InternetProcessTicket(Ticket(OTRSTicketGetResponse), service_mock)
124
130
 
125
131
  self.assertEqual("fiber", ticket.service_technology)
126
132
  self.assertEqual("987654321", ticket.msisdn)
@@ -128,26 +134,20 @@ class OTRSTicketResponseTestCase(unittest.TestCase):
128
134
  self.assertEqual("Fibra100", ticket.product_code)
129
135
 
130
136
  def test_otrs_ticket_is_confirmed(self):
131
- 'Instantiate a OTRSTicket from otrs_ticket_get_response and check if is confirmed'
132
- OTRSTicketGetResponse['State'] = "closed successful"
133
- service_mock = Mock(spec=['is_mobile'])
137
+ "Instantiate a OTRSTicket from otrs_ticket_get_response and check if is confirmed"
138
+ OTRSTicketGetResponse["State"] = "closed successful"
139
+ service_mock = Mock(spec=["is_mobile"])
134
140
  service_mock.is_mobile = False
135
- ticket = InternetProcessTicket(
136
- Ticket(OTRSTicketGetResponse),
137
- service_mock
138
- )
141
+ ticket = InternetProcessTicket(Ticket(OTRSTicketGetResponse), service_mock)
139
142
 
140
143
  self.assertTrue(ticket.confirmed())
141
144
 
142
145
  def test_otrs_ticket_is_cancelled(self):
143
- 'Instantiate a OTRSTicket from otrs_ticket_get_response and check if is cancelled'
144
- OTRSTicketGetResponse['State'] = "closed unsuccessful"
145
- service_mock = Mock(spec=['is_mobile'])
146
+ "Instantiate a OTRSTicket from otrs_ticket_get_response and check if is cancelled"
147
+ OTRSTicketGetResponse["State"] = "closed unsuccessful"
148
+ service_mock = Mock(spec=["is_mobile"])
146
149
  service_mock.is_mobile = False
147
- ticket = InternetProcessTicket(
148
- Ticket(OTRSTicketGetResponse),
149
- service_mock
150
- )
150
+ ticket = InternetProcessTicket(Ticket(OTRSTicketGetResponse), service_mock)
151
151
 
152
152
  self.assertTrue(ticket.cancelled())
153
153
 
@@ -155,19 +155,16 @@ class OTRSTicketResponseTestCase(unittest.TestCase):
155
155
  """
156
156
  Instantiate an OTRSTicket from otrs_ticket_get_response and check if it's paused without coverage (Fibre service)
157
157
  """
158
- OTRSTicketGetResponse['DynamicField'] = [
158
+ OTRSTicketGetResponse["DynamicField"] = [
159
159
  {"Name": "TecDelServei", "Value": "Fibra"},
160
160
  {"Name": "coberturaFibra", "Value": "fibraIndirecta"},
161
161
  {"Name": "coberturaFibraMM", "Value": "NoFibra"},
162
162
  {"Name": "coberturaFibraVdf", "Value": "NoFibraVdf"},
163
163
  ]
164
- service_mock = Mock(spec=['is_mobile', 'has_coverage'])
164
+ service_mock = Mock(spec=["is_mobile", "has_coverage"])
165
165
  service_mock.is_mobile = False
166
166
  service_mock.has_coverage.return_value = False
167
- ticket = InternetProcessTicket(
168
- Ticket(OTRSTicketGetResponse),
169
- service_mock
170
- )
167
+ ticket = InternetProcessTicket(Ticket(OTRSTicketGetResponse), service_mock)
171
168
 
172
169
  self.assertTrue(ticket.paused_without_coverage())
173
170
 
@@ -175,18 +172,15 @@ class OTRSTicketResponseTestCase(unittest.TestCase):
175
172
  """
176
173
  Instantiate an OTRSTicket from otrs_ticket_get_response and check if it's paused without coverage (ADSL service)
177
174
  """
178
- OTRSTicketGetResponse['DynamicField'] = [
175
+ OTRSTicketGetResponse["DynamicField"] = [
179
176
  {"Name": "TecDelServei", "Value": "ADSL"},
180
177
  {"Name": "coberturaADSL", "Value": "NoServei"},
181
178
  ]
182
179
 
183
- service_mock = Mock(spec=['is_mobile', 'has_coverage'])
180
+ service_mock = Mock(spec=["is_mobile", "has_coverage"])
184
181
  service_mock.is_mobile = False
185
182
  service_mock.has_coverage.return_value = False
186
183
  service_mock.is_mobile = False
187
- ticket = InternetProcessTicket(
188
- Ticket(OTRSTicketGetResponse),
189
- service_mock
190
- )
184
+ ticket = InternetProcessTicket(Ticket(OTRSTicketGetResponse), service_mock)
191
185
 
192
186
  self.assertTrue(ticket.paused_without_coverage())
@@ -11,8 +11,14 @@ from tests.data.otrs_raw_responses import OTRSTicketGetResponse
11
11
 
12
12
  class MobileTicketResponseTestCase(unittest.TestCase):
13
13
  def test_otrs_ticket_get_parse_response(self):
14
- 'Instantiate a OTRSTicket from otrs_ticket_get_response'
15
- OTRSTicketGetResponse['DynamicField'] = [
14
+ """
15
+ Instantiate a OTRSTicket from otrs_ticket_get_response
16
+ """
17
+ OTRSTicketGetResponse["QueueID"] = "82"
18
+ OTRSTicketGetResponse[
19
+ "Queue"
20
+ ] = "Serveis mòbil::Provisió mòbil::01.1 Fibra finalitzada"
21
+ OTRSTicketGetResponse["DynamicField"] = [
16
22
  {"Name": "IDContracte", "Value": "1022"},
17
23
  {"Name": "nomSoci", "Value": "Pere"},
18
24
  {"Name": "cognom1", "Value": "Pablo"},
@@ -20,7 +26,6 @@ class MobileTicketResponseTestCase(unittest.TestCase):
20
26
  {"Name": "NIFNIEtitular", "Value": "123456789F"},
21
27
  {"Name": "IBAN", "Value": "ES9000246912501234567891"},
22
28
  {"Name": "dataIniciFacturacio", "Value": "2018-12-10 00:00:00"},
23
- {"Name": "notes", "Value": "Notes..."},
24
29
  ]
25
30
 
26
31
  ticket = MobileProcessTicket(Ticket(OTRSTicketGetResponse), Mock(spec=[]))
@@ -28,6 +33,10 @@ class MobileTicketResponseTestCase(unittest.TestCase):
28
33
  # Ticket
29
34
  self.assertEqual("2", ticket.id)
30
35
  self.assertEqual("2018081300000002", ticket.number)
36
+ self.assertEqual("82", ticket.queue_id)
37
+ self.assertEqual(
38
+ "Serveis mòbil::Provisió mòbil::01.1 Fibra finalitzada", ticket.queue
39
+ )
31
40
 
32
41
  # Contract
33
42
  self.assertEqual("1022", ticket.contract_id)
@@ -39,27 +48,36 @@ class MobileTicketResponseTestCase(unittest.TestCase):
39
48
  self.assertEqual("123456789F", ticket.owner_vat_number)
40
49
 
41
50
  self.assertEqual("ES9000246912501234567891", ticket.iban)
42
-
43
- expected_date = datetime.strptime("2018-12-10 00:00:00", "%Y-%m-%d %H:%M:%S")
44
- self.assertEqual(expected_date, ticket.invoices_start_date)
45
- self.assertEqual("Notes...", ticket.notes)
51
+ self.assertEqual(datetime(2018, 12, 10, 0, 0, 0), ticket.invoices_start_date)
46
52
 
47
53
  def test_otrs_ticket_get_parse_response_mobile(self):
48
- OTRSTicketGetResponse['DynamicField'] = [
49
- {"Name": "TecDelServei", "Value": "Mobile"},
54
+ """
55
+ Instantiate a OTRSTicket from otrs_ticket_get_response and check its
56
+ parsed DF as properties
57
+ """
58
+
59
+ OTRSTicketGetResponse["DynamicField"] = [
60
+ {"Name": "TecDelServei", "Value": "Mobil"},
50
61
  {"Name": "liniaMobil", "Value": "123456789"},
51
62
  {"Name": "ICCSC", "Value": "1234"},
52
63
  {"Name": "NIFNIESoci", "Value": "52472919Y"},
53
64
  {"Name": "dadesMobil", "Value": "2GB"},
54
65
  {"Name": "minutsMobil", "Value": "100min"},
55
66
  {"Name": "productMobil", "Value": "100min1GB"},
67
+ {"Name": "tipusServeiMobil", "Value": "Portabilitat"},
68
+ {"Name": "ICCdonant", "Value": "828282828"},
69
+ {"Name": "operadorDonantMobil", "Value": "Movistar"},
70
+ {"Name": "abonamentInternacional", "Value": "100min"},
71
+ {"Name": "OdooContractRefRelacionat", "Value": "333"},
72
+ {"Name": "IDAbonamentCompartit", "Value": "444"},
73
+ {"Name": "titular", "Value": "Juan"},
74
+ {"Name": "cognom1Titular", "Value": "Vila"},
75
+ {"Name": "dniTitularAnterior", "Value": "62472919A"},
76
+ {"Name": "dataActivacioLiniaMobil", "Value": "2023-11-10 00:00:00"},
56
77
  ]
57
- service_mock = Mock(spec=['is_mobile'])
78
+ service_mock = Mock(spec=["is_mobile"])
58
79
  service_mock.is_mobile = True
59
- ticket = MobileProcessTicket(
60
- Ticket(OTRSTicketGetResponse),
61
- service_mock
62
- )
80
+ ticket = MobileProcessTicket(Ticket(OTRSTicketGetResponse), service_mock)
63
81
 
64
82
  self.assertEqual("mobile", ticket.service_technology)
65
83
  self.assertEqual("123456789", ticket.msisdn)
@@ -67,28 +85,36 @@ class MobileTicketResponseTestCase(unittest.TestCase):
67
85
  self.assertEqual("2GB", ticket.data)
68
86
  self.assertEqual("100", ticket.minutes)
69
87
  self.assertEqual("100min1GB", ticket.product_code)
88
+ self.assertEqual("Portabilitat", ticket.service_type)
89
+ self.assertEqual("828282828", ticket.donor_icc)
90
+ self.assertEqual("Movistar", ticket.previous_provider)
91
+ self.assertEqual("100min", ticket.international_minutes)
92
+ self.assertEqual("333", ticket.fiber_contract_code)
93
+ self.assertEqual("444", ticket.shared_bond_id)
94
+ self.assertEqual("Juan", ticket.previous_owner_name)
95
+ self.assertEqual("Vila", ticket.previous_owner_surname)
96
+ self.assertEqual("62472919A", ticket.previous_owner_docid)
97
+ self.assertEqual(datetime(2023, 11, 10, 0, 0, 0), ticket.activation_date)
70
98
 
71
99
  def test_otrs_ticket_is_confirmed(self):
72
- 'Instantiate a OTRSTicket from otrs_ticket_get_response and check if is confirmed'
73
- OTRSTicketGetResponse['State'] = "closed successful"
74
- service_mock = Mock(spec=['is_mobile'])
100
+ """
101
+ Instantiate a OTRSTicket from otrs_ticket_get_response and check if is confirmed"
102
+ """
103
+ OTRSTicketGetResponse["State"] = "closed successful"
104
+ service_mock = Mock(spec=["is_mobile"])
75
105
  service_mock.is_mobile = True
76
- ticket = MobileProcessTicket(
77
- Ticket(OTRSTicketGetResponse),
78
- service_mock
79
- )
106
+ ticket = MobileProcessTicket(Ticket(OTRSTicketGetResponse), service_mock)
80
107
 
81
108
  self.assertTrue(ticket.confirmed())
82
109
 
83
110
  def test_otrs_ticket_is_cancelled(self):
84
- 'Instantiate a OTRSTicket from otrs_ticket_get_response and check if is cancelled'
85
- OTRSTicketGetResponse['State'] = "closed unsuccessful"
86
- service_mock = Mock(spec=['is_mobile'])
111
+ """
112
+ Instantiate a OTRSTicket from otrs_ticket_get_response and check if is cancelled
113
+ """
114
+ OTRSTicketGetResponse["State"] = "closed unsuccessful"
115
+ service_mock = Mock(spec=["is_mobile"])
87
116
  service_mock.is_mobile = True
88
- ticket = MobileProcessTicket(
89
- Ticket(OTRSTicketGetResponse),
90
- service_mock
91
- )
117
+ ticket = MobileProcessTicket(Ticket(OTRSTicketGetResponse), service_mock)
92
118
 
93
119
  self.assertTrue(ticket.cancelled())
94
120
 
@@ -96,11 +122,8 @@ class MobileTicketResponseTestCase(unittest.TestCase):
96
122
  """
97
123
  Instantiate an OTRSTicket from otrs_ticket_get_response and check if it's paused without coverage (ADSL service)
98
124
  """
99
- service_mock = Mock(spec=['is_mobile'])
125
+ service_mock = Mock(spec=["is_mobile"])
100
126
  service_mock.is_mobile = True
101
- ticket = MobileProcessTicket(
102
- Ticket(OTRSTicketGetResponse),
103
- service_mock
104
- )
127
+ ticket = MobileProcessTicket(Ticket(OTRSTicketGetResponse), service_mock)
105
128
 
106
129
  self.assertFalse(ticket.paused_without_coverage())
@@ -9,20 +9,21 @@ class FakeArticle(AbstractArticle):
9
9
  Custom class which inherits from AbstractArticle.
10
10
  Intended only for tests purposes.
11
11
  """
12
+
12
13
  def __init__(self, subject, body):
13
14
  self.subject = subject
14
15
  self.body = body
15
16
 
16
17
 
17
18
  class AbstractArticleTestCase(unittest.TestCase):
18
-
19
- @patch('otrs_somconnexio.otrs_models.abstract_article.Article')
19
+ @patch("otrs_somconnexio.otrs_models.abstract_article.Article")
20
20
  def test_call(self, MockArticle):
21
21
 
22
22
  expected_article_arguments = {
23
23
  "Subject": "test_subject",
24
24
  "Body": "test_body",
25
25
  "ContentType": "text/plain; charset=utf8",
26
+ "IsVisibleForCustomer": "1",
26
27
  }
27
28
 
28
29
  FakeArticle("test_subject", "test_body").call()
@@ -5,12 +5,13 @@ from otrs_somconnexio.otrs_models.adsl_data import ADSLData
5
5
 
6
6
 
7
7
  class ADSLDataTestCase(unittest.TestCase):
8
-
9
8
  def test_init(self):
10
9
  adsl_data = ADSLData(
11
10
  order_id=123,
11
+ contact_phone="666666661",
12
12
  phone_number="666666666",
13
13
  iban="ES6621000418401234567891",
14
+ email="test@test.com",
14
15
  previous_provider="SC",
15
16
  previous_internal_provider=None,
16
17
  previous_owner_vat="740227654G",
@@ -19,19 +20,25 @@ class ADSLDataTestCase(unittest.TestCase):
19
20
  service_address="address",
20
21
  service_city="city",
21
22
  service_zip="08001",
22
- service_subdivision="ES-B",
23
+ service_subdivision="Barcelona",
24
+ service_subdivision_code="ES-B",
23
25
  shipment_address="address",
24
26
  shipment_city="city",
25
27
  shipment_zip="08001",
26
28
  shipment_subdivision="ES-B",
27
29
  previous_service="ADSL",
28
30
  notes="Notes",
31
+ activation_notes="More notes",
29
32
  adsl_coverage=None,
30
33
  mm_fiber_coverage=None,
34
+ asociatel_fiber_coverage=None,
31
35
  vdf_fiber_coverage=None,
32
- change_address="no",
36
+ orange_fiber_coverage=None,
37
+ type="location_change",
33
38
  landline_phone_number="landline_phone_number",
34
- product="product"
39
+ product="product",
40
+ technology="ADSL",
41
+ sales_team="residential",
35
42
  )
36
43
 
37
44
  self.assertIsInstance(adsl_data, ADSLData)