aa-intel-tool 2.6.0__py3-none-any.whl → 2.6.2__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 (66) hide show
  1. aa_intel_tool/__init__.py +1 -1
  2. aa_intel_tool/app_settings.py +15 -0
  3. aa_intel_tool/constants.py +6 -5
  4. aa_intel_tool/helper/eve_character.py +24 -36
  5. aa_intel_tool/helper/static_files.py +5 -4
  6. aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.po +15 -83
  7. aa_intel_tool/locale/de/LC_MESSAGES/django.mo +0 -0
  8. aa_intel_tool/locale/de/LC_MESSAGES/django.po +71 -87
  9. aa_intel_tool/locale/django.pot +16 -84
  10. aa_intel_tool/locale/es/LC_MESSAGES/django.po +19 -83
  11. aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
  12. aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.po +72 -88
  13. aa_intel_tool/locale/it_IT/LC_MESSAGES/django.po +15 -83
  14. aa_intel_tool/locale/ja/LC_MESSAGES/django.po +15 -83
  15. aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po +67 -83
  16. aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.po +15 -83
  17. aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.po +15 -83
  18. aa_intel_tool/locale/ru/LC_MESSAGES/django.mo +0 -0
  19. aa_intel_tool/locale/ru/LC_MESSAGES/django.po +71 -87
  20. aa_intel_tool/locale/sk/LC_MESSAGES/django.po +15 -83
  21. aa_intel_tool/locale/uk/LC_MESSAGES/django.mo +0 -0
  22. aa_intel_tool/locale/uk/LC_MESSAGES/django.po +71 -94
  23. aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
  24. aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.po +20 -87
  25. aa_intel_tool/parser/general.py +11 -16
  26. aa_intel_tool/parser/helper/db.py +8 -11
  27. aa_intel_tool/parser/module/chatlist.py +97 -126
  28. aa_intel_tool/parser/module/dscan.py +115 -147
  29. aa_intel_tool/parser/module/fleetcomp.py +85 -102
  30. aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.css +6 -24
  31. aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css +1 -1
  32. aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css.map +1 -1
  33. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.js +104 -64
  34. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js.map +1 -1
  35. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.js +5 -5
  36. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js +1 -1
  37. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js.map +1 -1
  38. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.js +43 -43
  39. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js.map +1 -1
  40. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.js +41 -17
  41. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js +1 -1
  42. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js.map +1 -1
  43. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.js +51 -51
  44. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js.map +1 -1
  45. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.js +13 -7
  46. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js +1 -1
  47. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js.map +1 -1
  48. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.js +53 -31
  49. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js +1 -1
  50. aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js.map +1 -1
  51. aa_intel_tool/templates/aa_intel_tool/base.html +7 -42
  52. aa_intel_tool/templates/aa_intel_tool/partials/scan/evetime.html +1 -1
  53. aa_intel_tool/templatetags/aa_intel_tool.py +12 -7
  54. aa_intel_tool/tests/test-data/dscan.txt +250 -0
  55. aa_intel_tool/tests/test_admin.py +50 -38
  56. aa_intel_tool/tests/test_app_settings.py +23 -1
  57. aa_intel_tool/tests/test_helper_eve_character.py +405 -0
  58. aa_intel_tool/tests/test_models.py +188 -4
  59. aa_intel_tool/tests/test_parser_general.py +771 -0
  60. aa_intel_tool/tests/test_parser_module_chatlist.py +154 -0
  61. aa_intel_tool/tests/test_templatetags.py +24 -3
  62. {aa_intel_tool-2.6.0.dist-info → aa_intel_tool-2.6.2.dist-info}/METADATA +4 -4
  63. {aa_intel_tool-2.6.0.dist-info → aa_intel_tool-2.6.2.dist-info}/RECORD +65 -63
  64. aa_intel_tool/tests/test_parser.py +0 -135
  65. {aa_intel_tool-2.6.0.dist-info → aa_intel_tool-2.6.2.dist-info}/WHEEL +0 -0
  66. {aa_intel_tool-2.6.0.dist-info → aa_intel_tool-2.6.2.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,154 @@
1
+ """
2
+ Test cases for the chatlist parser module.
3
+ """
4
+
5
+ # Standard Library
6
+ from unittest import TestCase
7
+ from unittest.mock import MagicMock, patch
8
+
9
+ # AA Intel Tool
10
+ from aa_intel_tool.exceptions import ParserError
11
+ from aa_intel_tool.models import Scan
12
+ from aa_intel_tool.parser.module.chatlist import parse
13
+
14
+
15
+ class TestParse(TestCase):
16
+ """
17
+ Test cases for the parse function in the chatlist module.
18
+ """
19
+
20
+ @patch(
21
+ "aa_intel_tool.parser.module.chatlist.AppSettings.INTELTOOL_ENABLE_MODULE_CHATSCAN",
22
+ True,
23
+ )
24
+ @patch("aa_intel_tool.parser.module.chatlist._get_character_info")
25
+ @patch("aa_intel_tool.parser.module.chatlist._parse_chatscan_data")
26
+ @patch("aa_intel_tool.parser.module.chatlist.safe_scan_to_db")
27
+ def test_parses_valid_scan_data(
28
+ self, mock_safe_scan_to_db, mock_parse_chatscan_data, mock_get_character_info
29
+ ):
30
+ """
31
+ Test should parse valid scan data and return a Scan object.
32
+
33
+ :param mock_safe_scan_to_db:
34
+ :type mock_safe_scan_to_db:
35
+ :param mock_parse_chatscan_data:
36
+ :type mock_parse_chatscan_data:
37
+ :param mock_get_character_info:
38
+ :type mock_get_character_info:
39
+ :return:
40
+ :rtype:
41
+ """
42
+
43
+ mock_get_character_info.return_value = MagicMock()
44
+ mock_parse_chatscan_data.return_value = {
45
+ "pilots": [],
46
+ "corporations": [],
47
+ "alliances": [],
48
+ }
49
+ mock_safe_scan_to_db.return_value = Scan()
50
+
51
+ scan_data = ["Character1", "Character2"]
52
+ result = parse(scan_data)
53
+
54
+ self.assertIsInstance(result, Scan)
55
+
56
+ @patch(
57
+ "aa_intel_tool.parser.module.chatlist.AppSettings.INTELTOOL_ENABLE_MODULE_CHATSCAN",
58
+ True,
59
+ )
60
+ @patch("aa_intel_tool.parser.module.chatlist._get_character_info")
61
+ @patch("aa_intel_tool.parser.module.chatlist._parse_chatscan_data")
62
+ def test_returns_parsed_data_when_safe_to_db_is_false(
63
+ self, mock_parse_chatscan_data, mock_get_character_info
64
+ ):
65
+ """
66
+ Test should parse valid scan data and return a dictionary when safe_to_db is False.
67
+
68
+ :param mock_parse_chatscan_data:
69
+ :type mock_parse_chatscan_data:
70
+ :param mock_get_character_info:
71
+ :type mock_get_character_info:
72
+ :return:
73
+ :rtype:
74
+ """
75
+
76
+ mock_get_character_info.return_value = MagicMock()
77
+ mock_parse_chatscan_data.return_value = {
78
+ "pilots": [],
79
+ "corporations": [],
80
+ "alliances": [],
81
+ }
82
+
83
+ scan_data = ["Character1", "Character2"]
84
+ result = parse(scan_data, safe_to_db=False)
85
+
86
+ self.assertIsInstance(result, dict)
87
+
88
+ @patch(
89
+ "aa_intel_tool.parser.module.chatlist.AppSettings.INTELTOOL_ENABLE_MODULE_CHATSCAN",
90
+ False,
91
+ )
92
+ def test_raises_error_when_module_disabled(self):
93
+ """
94
+ Test should raise a ParserError when the module is disabled.
95
+
96
+ :return:
97
+ :rtype:
98
+ """
99
+
100
+ with self.assertRaises(ParserError):
101
+ parse([])
102
+
103
+ @patch(
104
+ "aa_intel_tool.parser.module.chatlist.AppSettings.INTELTOOL_ENABLE_MODULE_CHATSCAN",
105
+ True,
106
+ )
107
+ @patch(
108
+ "aa_intel_tool.parser.module.chatlist.AppSettings.INTELTOOL_CHATSCAN_MAX_PILOTS",
109
+ 1,
110
+ )
111
+ def test_raises_error_when_pilot_limit_exceeded(self):
112
+ """
113
+ Test should raise a ParserError when the pilot limit is exceeded.
114
+
115
+ :return:
116
+ :rtype:
117
+ """
118
+
119
+ scan_data = ["Character1", "Character2"]
120
+
121
+ with self.assertRaises(ParserError):
122
+ parse(scan_data)
123
+
124
+ @patch(
125
+ "aa_intel_tool.parser.module.chatlist.AppSettings.INTELTOOL_ENABLE_MODULE_CHATSCAN",
126
+ True,
127
+ )
128
+ @patch("aa_intel_tool.parser.module.chatlist._get_character_info")
129
+ @patch("aa_intel_tool.parser.module.chatlist._parse_chatscan_data")
130
+ def test_handles_empty_scan_data(
131
+ self, mock_parse_chatscan_data, mock_get_character_info
132
+ ):
133
+ """
134
+ Test should handle empty scan data gracefully.
135
+
136
+ :param mock_parse_chatscan_data:
137
+ :type mock_parse_chatscan_data:
138
+ :param mock_get_character_info:
139
+ :type mock_get_character_info:
140
+ :return:
141
+ :rtype:
142
+ """
143
+
144
+ mock_get_character_info.return_value = MagicMock()
145
+ mock_parse_chatscan_data.return_value = {
146
+ "pilots": [],
147
+ "corporations": [],
148
+ "alliances": [],
149
+ }
150
+
151
+ scan_data = []
152
+ result = parse(scan_data)
153
+
154
+ self.assertIsInstance(result, Scan)
@@ -8,6 +8,7 @@ from django.test import TestCase, override_settings
8
8
 
9
9
  # AA Intel Tool
10
10
  from aa_intel_tool import __version__
11
+ from aa_intel_tool.constants import PACKAGE_NAME
11
12
  from aa_intel_tool.helper.static_files import calculate_integrity_hash
12
13
 
13
14
 
@@ -36,12 +37,12 @@ class TestVersionedStatic(TestCase):
36
37
  rendered_template = template_to_render.render(context=context)
37
38
 
38
39
  expected_static_css_src = (
39
- f'/static/aa_intel_tool/css/aa-intel-tool.min.css?v={context["version"]}'
40
+ f'/static/{PACKAGE_NAME}/css/aa-intel-tool.min.css?v={context["version"]}'
40
41
  )
41
42
  expected_static_css_src_integrity = calculate_integrity_hash(
42
43
  "css/aa-intel-tool.min.css"
43
44
  )
44
- expected_static_js_src = f'/static/aa_intel_tool/javascript/aa-intel-tool.min.js?v={context["version"]}'
45
+ expected_static_js_src = f'/static/{PACKAGE_NAME}/javascript/aa-intel-tool.min.js?v={context["version"]}'
45
46
  expected_static_js_src_integrity = calculate_integrity_hash(
46
47
  "javascript/aa-intel-tool.min.js"
47
48
  )
@@ -75,8 +76,28 @@ class TestVersionedStatic(TestCase):
75
76
  rendered_template = template_to_render.render(context=context)
76
77
 
77
78
  expected_static_css_src = (
78
- f'/static/aa_intel_tool/css/aa-intel-tool.min.css?v={context["version"]}'
79
+ f'/static/{PACKAGE_NAME}/css/aa-intel-tool.min.css?v={context["version"]}'
79
80
  )
80
81
 
81
82
  self.assertIn(member=expected_static_css_src, container=rendered_template)
82
83
  self.assertNotIn(member="integrity=", container=rendered_template)
84
+
85
+ @override_settings(DEBUG=False)
86
+ def test_invalid_file_type(self) -> None:
87
+ """
88
+ Test should raise a ValueError for an invalid file type
89
+
90
+ :return:
91
+ :rtype:
92
+ """
93
+
94
+ context = Context({"version": __version__})
95
+ template_to_render = Template(
96
+ template_string=(
97
+ "{% load aa_intel_tool %}"
98
+ "{% aa_intel_tool_static 'invalid/invalid.txt' %}"
99
+ )
100
+ )
101
+
102
+ with self.assertRaises(ValueError):
103
+ template_to_render.render(context=context)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aa-intel-tool
3
- Version: 2.6.0
3
+ Version: 2.6.2
4
4
  Summary: A simple parser for D-Scans and more for Alliance Auth
5
5
  Project-URL: Changelog, https://github.com/ppfeufer/aa-intel-tool/blob/master/CHANGELOG.md
6
6
  Project-URL: Documentation, https://github.com/ppfeufer/aa-intel-tool/blob/master/README.md
@@ -986,9 +986,9 @@ Please make sure to read the [Contribution Guidelines].\
986
986
  [code of conduct]: https://github.com/ppfeufer/aa-intel-tool/blob/master/CODE_OF_CONDUCT.md
987
987
  [contribution guidelines]: https://github.com/ppfeufer/aa-intel-tool/blob/master/CONTRIBUTING.md "Contribution Guidelines"
988
988
  [eve universe]: https://gitlab.com/ErikKalkoken/django-eveuniverse "Eve Universe"
989
- [image: chat scan module]: https://raw.githubusercontent.com/ppfeufer/aa-intel-tool/master/docs/images/representation/chat-scan.jpg "Chat Scan Module"
990
- [image: d-scan module]: https://raw.githubusercontent.com/ppfeufer/aa-intel-tool/master/docs/images/representation/d-scan.jpg "D-Scan Module"
991
- [image: fleet composition module]: https://raw.githubusercontent.com/ppfeufer/aa-intel-tool/master/docs/images/representation/fleet-composition.jpg "Fleet Composition Module"
989
+ [image: chat scan module]: https://raw.githubusercontent.com/ppfeufer/aa-intel-tool/master/docs/images/presentation/chat-scan.jpg "Chat Scan Module"
990
+ [image: d-scan module]: https://raw.githubusercontent.com/ppfeufer/aa-intel-tool/master/docs/images/presentation/d-scan.jpg "D-Scan Module"
991
+ [image: fleet composition module]: https://raw.githubusercontent.com/ppfeufer/aa-intel-tool/master/docs/images/presentation/fleet-composition.jpg "Fleet Composition Module"
992
992
  [ppfeufer on ko-fi]: https://ko-fi.com/ppfeufer "Buy Me a Coffee!"
993
993
  [pre-commit.ci status]: https://results.pre-commit.ci/latest/github/ppfeufer/aa-intel-tool/master "pre-commit.ci"
994
994
  [support discord]: https://discord.gg/zmh52wnfvM "Alliance Auth Community Apps Support Discord"
@@ -1,83 +1,83 @@
1
- aa_intel_tool/__init__.py,sha256=I5Ep0s90Y5upvB2bf5_kFbKFEcL41KegXnJLwdAuBdo,135
1
+ aa_intel_tool/__init__.py,sha256=6KCS67zW-B8QaOXrLW1qSDlc7SjcyFQ7O3e5KhWXg78,135
2
2
  aa_intel_tool/admin.py,sha256=ZSsxpL4LmV0nxQRww6BwY5BPLM23JxpnCPwMQbACv78,2441
3
- aa_intel_tool/app_settings.py,sha256=pinkxAcNKM4Bs50An5ahEX7DEwPBIV-WcQCTuqstJbo,2328
3
+ aa_intel_tool/app_settings.py,sha256=oDhUQii5p_DqWnBRXg26Q3rZwSmElMlzkhtr5WqiRK8,2531
4
4
  aa_intel_tool/apps.py,sha256=rfCtJ2bFQB4sDdl-zYo_i034oq-fF1Ad3NAU55NoBQk,452
5
5
  aa_intel_tool/auth_hooks.py,sha256=Z0FyC6XWWCulRQzK1nv2JeDhlvOCxY37KXK_kDRy78U,1469
6
- aa_intel_tool/constants.py,sha256=Rjp7tqHW6VJcereDRvGmc6aRBFGHXFuOqkWAokZtI58,2704
6
+ aa_intel_tool/constants.py,sha256=0KhsuTwsBP6X0iPIOXR5XKSztfloIkLC8mFT_btiKDc,2791
7
7
  aa_intel_tool/exceptions.py,sha256=1uEreioXqnWR8trgU5RSvj7CZ6GdkaWG-wI5G1pfvqs,693
8
8
  aa_intel_tool/form.py,sha256=naH20ZGyktwM-JBZeC98FRlptLpYe5PvQYu-Xto7-z4,545
9
9
  aa_intel_tool/models.py,sha256=oZ0_pPl-4XiGOspVx-9n8DITqsfIv2yizFn532BtZcg,4057
10
10
  aa_intel_tool/tasks.py,sha256=lkW1kDJzU8iOINp_tKEL5rG9DM5icvEkyYQUhGrW_hU,1088
11
11
  aa_intel_tool/urls.py,sha256=cncBfnPbJErN9w0qM83ZmtlnMJEolDHLQllU8bvxUa0,720
12
12
  aa_intel_tool/helper/data_structure.py,sha256=ajH_hDWR5TV22gF0AMIZsu1PcY73OzPdOHx1d_D0GsM,302
13
- aa_intel_tool/helper/eve_character.py,sha256=SZcfIJndVvriiqrZW3HrFtMZ9r3PlYIdaups2JndHkE,5143
14
- aa_intel_tool/helper/static_files.py,sha256=AslMuHPXsBSjhUk9RESIAduw9uX2FiZFFOkCy3gFpnU,1107
15
- aa_intel_tool/locale/django.pot,sha256=kuiBAxcx9BROfHAn-LZTdpUNHuRIhDMhVVtNqwbWpAQ,15001
13
+ aa_intel_tool/helper/eve_character.py,sha256=dJ-7D-qhibX9fNJ6pQO1qDerYrWJPstGh2V1UiEgTIQ,4859
14
+ aa_intel_tool/helper/static_files.py,sha256=QgM9Y-wyR8Ansq5alZRIeWNr3-DjAq_yEz50Dc0D1ZA,1070
15
+ aa_intel_tool/locale/django.pot,sha256=e0Ufu3f76huJ5Xt8cypgipkuRUgqAIG22n2mlsc56es,13371
16
16
  aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.mo,sha256=CHgMtrHlb-VEo5fUh2G3IrCNxoIScE-LzX6xjz1YkRc,864
17
- aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.po,sha256=AvwpQY8Gr-tCT41NH9YNk-bbvJswI2P5v3_FJiGcxDs,15362
18
- aa_intel_tool/locale/de/LC_MESSAGES/django.mo,sha256=ykEnYbWAdXz9NLf9mDbzlRQQNX7rwsEeK_NnbajXNUA,8931
19
- aa_intel_tool/locale/de/LC_MESSAGES/django.po,sha256=UK0NCpJejuK_1wop0dHYHI2OqaAcH0KP8_fXRoWMuf4,18229
17
+ aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.po,sha256=HRYtXZyymwN2220x3Mb-u5PvgPGBqRVOpuismMgzQJ0,13732
18
+ aa_intel_tool/locale/de/LC_MESSAGES/django.mo,sha256=Z8Ez7OMleYRT1NmFkJjCAx5Fra1RGr68Ja709CMFmeg,7719
19
+ aa_intel_tool/locale/de/LC_MESSAGES/django.po,sha256=2pA2ccRvq-q4jQcMDvWNNEWK5qAUhBmRLf7hnTUBuBk,17480
20
20
  aa_intel_tool/locale/es/LC_MESSAGES/django.mo,sha256=9vAXi9Jp1IkMbmCJLC-sboBSLAqCOuF-4ZAPUmeLKBI,2041
21
- aa_intel_tool/locale/es/LC_MESSAGES/django.po,sha256=l4himqjjYF8lsodCOobky_eQkLTqaSQ3LVDuqAXZnrg,16058
22
- aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.mo,sha256=D3hTzMn8QWzX98qhjQ63PL7ICu7ibOCPVpL4PsJvA4M,7753
23
- aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.po,sha256=3c4BMO7FPYWnjLC77eIEVQ61IYze6dDLEiKoMDR1wr0,18445
21
+ aa_intel_tool/locale/es/LC_MESSAGES/django.po,sha256=WI7rVwLJxKjupP66DrgzvtvKUBundS5Z_u0eSGzRrLg,14486
22
+ aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.mo,sha256=rTwIqSaNYKhOl2fiM-vLkVlGNtATGJS-nHwZ523I_0o,6620
23
+ aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.po,sha256=5xoFi5vZE5g4lxb8SwLlSM7HmMkx-2vzeod7qX0ILXY,17696
24
24
  aa_intel_tool/locale/it_IT/LC_MESSAGES/django.mo,sha256=dqJTO-ELuQ2KgN37kNG65LG7jjb4IhNkU2Tq1C4vswg,483
25
- aa_intel_tool/locale/it_IT/LC_MESSAGES/django.po,sha256=XGm5L2n7YsyGhO9zTlUxFDAt8gBG0pddUpr6H1wxzng,15051
25
+ aa_intel_tool/locale/it_IT/LC_MESSAGES/django.po,sha256=3W4aHoedOF4bsGcY-iH4icu9S8TjgxshgGgxjdU7RxA,13421
26
26
  aa_intel_tool/locale/ja/LC_MESSAGES/django.mo,sha256=QLIDRjta7RnIlXK5syiiuByJvHt3VDAW8ulGuV3oUmA,1183
27
- aa_intel_tool/locale/ja/LC_MESSAGES/django.po,sha256=85wP6livNZubpljQmPOWZtZbMywd5A58E8Vrmomj5us,15324
27
+ aa_intel_tool/locale/ja/LC_MESSAGES/django.po,sha256=DeM1Zj2USMaHHwN-YKb_aKOZCE0qu9jQ4DYNAyO9_w4,13694
28
28
  aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.mo,sha256=_wp-CP4xtLHHiGwR2kBD_ouXauytLSbXE30BqvNchFE,8737
29
- aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po,sha256=Xo3tws7fG4Mmng7i5B6QRJTjXWGUUew34yME9FCG_ak,18487
29
+ aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po,sha256=PcHa-3DD4osvl8EFdFNpnBpg2wzvRZ3IDqzJdSqu_u8,17731
30
30
  aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.mo,sha256=K0pyH0sermqDXN9hnCQUDHcst_CewisXZp_Q0_3y-k4,479
31
- aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.po,sha256=ujVPCyaDF7Xiyl2EK41bWOQaS8vmYaeAlMgcBTsfzMU,15049
31
+ aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.po,sha256=UABOm5k4BXXzDMNAbbAEkQdX-Jgz6vjS8mSky1Dyk1M,13419
32
32
  aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.mo,sha256=pviaTemIpmyQrIz-vEadYrZgOgntLAb5QtEkupkf35k,926
33
- aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.po,sha256=m-GXKb9S_ZeboReIM3Mv183Q2gPNGPc6ojJZ3r5yxI4,15311
34
- aa_intel_tool/locale/ru/LC_MESSAGES/django.mo,sha256=qo2lBho_yA5eP__d-MiguV3lThhIfOHlgWO-YRQI6Fg,11848
35
- aa_intel_tool/locale/ru/LC_MESSAGES/django.po,sha256=aEablJu7OMVjcPHPBLzjhg-I2ca_EZLxAG4mRl0fZAM,21344
33
+ aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.po,sha256=HJFOA_zvh0b77lYV1YiLR1iIbAtPiG7fktKNbPs-OsA,13681
34
+ aa_intel_tool/locale/ru/LC_MESSAGES/django.mo,sha256=cCSOc2yqFfkri0YWXGCNfUGqaneRqzPcP-bZtWxXm9c,10447
35
+ aa_intel_tool/locale/ru/LC_MESSAGES/django.po,sha256=sdeq-kwZXuRoDpfcRY0I0JG5hO2W-zog8h0nqXP2iFY,20596
36
36
  aa_intel_tool/locale/sk/LC_MESSAGES/django.mo,sha256=ag8xFgumlPADbLURJ5FQ4EARs6lIPpB4ulbuizC8J0I,558
37
- aa_intel_tool/locale/sk/LC_MESSAGES/django.po,sha256=ENouOc9KiDUSN1EcsQpd4SJOvYa_qCgceBfEzdcGXfE,15202
38
- aa_intel_tool/locale/uk/LC_MESSAGES/django.mo,sha256=rCzyZwK4BZbGCQK319E4EMF1NZ2-Ol7-SuhZZ6r0VDw,1065
39
- aa_intel_tool/locale/uk/LC_MESSAGES/django.po,sha256=WAfKCy3V26YC99hXXtczmsvSD7_heJvJATKGddRAOOw,15492
40
- aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=RJzJZ03Pu9E1JuNWd2m5YCJzue0J06x9q1zOXL2ziZE,2168
41
- aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.po,sha256=y-kw4ikBnK2ozWxDqKERcWlLbge8yYqElykpigpETmE,15757
37
+ aa_intel_tool/locale/sk/LC_MESSAGES/django.po,sha256=R1zetT-ZFpG4ziW8fGu0u2RfFKZ07PjLthhkZ4Ijb4Y,13572
38
+ aa_intel_tool/locale/uk/LC_MESSAGES/django.mo,sha256=ZQdz-_gXt-ZvK5-0eBc0tmgNAlkXJRAhsbOeJkZoQUU,1587
39
+ aa_intel_tool/locale/uk/LC_MESSAGES/django.po,sha256=TM43C8zoXp7Ard4634Cy5yicJlUNjHzRmYgidvglveY,15363
40
+ aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.mo,sha256=H8cexShbockghFW27eCu9W5npytYa0k36woJeQ8wiGc,2444
41
+ aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.po,sha256=UyB0FSxeFfcW0yT7OeEmMXQZ3VMna5aIhfcI_WR0EEE,14221
42
42
  aa_intel_tool/management/commands/aa_intel_tool_load_eve_types.py,sha256=rojHdwLg57a3darJif8uFwGxxiBQeFIOGRdr6qI0c5g,1796
43
43
  aa_intel_tool/migrations/0001_initial.py,sha256=nwtThaFJ7wrOZld0MzQ-MLpHB9xG-SJOZPl8FbM8dFE,4339
44
44
  aa_intel_tool/migrations/0002_alter_scan_raw_data.py,sha256=LDXPIxhCJ3QToQqmdyZubNEgiuGPsZZTBGKTOyApULw,405
45
45
  aa_intel_tool/migrations/__init__.py,sha256=DlW5327gBRgSG2GG_T0E1NcpiTFtYs0Vty1fzj4eiPY,34
46
46
  aa_intel_tool/parser/__init__.py,sha256=BAFdCEaeC0cmv74ZuZGZJCgJOiliMVBpgdQI63ABJ2U,30
47
- aa_intel_tool/parser/general.py,sha256=9iqbq7TP5yr9gwkXMj9h3ontdBL0nm0t9qll914RzkI,1952
48
- aa_intel_tool/parser/helper/db.py,sha256=M59FioVvq5D6Jx6i5j0RIsu-sYDJQwk5QuioegBxgms,886
49
- aa_intel_tool/parser/module/chatlist.py,sha256=aTHIl_sq5L6EYY_jzG4bD-qDah-n648x4MWTVyy27yc,10615
50
- aa_intel_tool/parser/module/dscan.py,sha256=rRqg5GKC3J3WHnmXP0NS-VHy4hN8SJayKExZR36gNT4,13148
51
- aa_intel_tool/parser/module/fleetcomp.py,sha256=C4REgUNbfiSnVpPMmZ2G2zZtp7PL8P3A_VoEXDGJyL4,7174
47
+ aa_intel_tool/parser/general.py,sha256=RgIyRntC8-bQvFpwy7OGqCqyMMVQ0F5-JtI-l9RSB_c,1805
48
+ aa_intel_tool/parser/helper/db.py,sha256=SlIfxgtJ-JGXcCDaV73LY5hIpcShgQ_8RbMbiHiVXFQ,819
49
+ aa_intel_tool/parser/module/chatlist.py,sha256=LAQvjkWlhaluvwTlkQC1cbqK6ioPSjoN0PIQSYlFnRc,9444
50
+ aa_intel_tool/parser/module/dscan.py,sha256=4I4IGt1ArWvmjVduzayi5QPIvGuwYzRZ46VmypEkCHI,11336
51
+ aa_intel_tool/parser/module/fleetcomp.py,sha256=O4kmSaNpd-5xGFfWgfeJanlAE3dxF3tZkkV_KFLy4V8,6382
52
52
  aa_intel_tool/scripts/drop_tables.sql,sha256=fJa_scRF95SxCmaMqFGzL4HhUwk5GN5cLexEbS_qwgw,192
53
- aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.css,sha256=weSD7A9bCKwAvoWLsZbtKFz2PN1YGddfTf0zN5dFWDQ,3934
54
- aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css,sha256=2iYiS27IqrrjpxIydY0SY6eVy66iQjZRgXGUE3UTBdE,2802
55
- aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css.map,sha256=_vSrANXH_wiBUcF7XT9JzEKNGV00dMR58yprNPW7OT0,4827
56
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.js,sha256=N9X9VIPCo0cDnuyScOQysArmA1lRrzqn6kBArIP6tkc,10613
53
+ aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.css,sha256=KEG4Af6yjLpE6gp5dK1LiTq2l9WELvWRPy6hb9oiGzg,3165
54
+ aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css,sha256=vrBBqG1hPUqEDh-WxtCoH3bE5JzNNjB9Zzma5TIMfRg,2135
55
+ aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css.map,sha256=WoTwswgy-px3zTUMzTk30Pf_ca9UH_dLXC4c_iGBbqo,3910
56
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.js,sha256=ZnMuAxGTBxKQO4VORksmmBZ0uCD1GV3UTYbM7M2uj6s,11883
57
57
  aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js,sha256=bHICKM_PzfXIWzlx0x6n3_cMqFTv92gUQwZCvbVH1BY,5792
58
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js.map,sha256=vgMD-dPJuTDVFJHNdFQF9O0ypUN6HxQlDcd_YPvrNWM,4168
59
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.js,sha256=DcDgj6wfahFd57_rW4CR-YJtuqiuMb8qJ7G1O9ryxpk,12908
60
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js,sha256=gTFuobNdI2qOcWLSVYoFbjBGw3Lsjm-xz1cDT3fis2o,4535
61
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js.map,sha256=7FYAgqS1B6a7fvc858c29J_O0xWvEFZl6SG1M8RHGmw,5045
62
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.js,sha256=HilVSPhjjlZysJI3dKz8VdOHE-JIaCyflWfxp4tjl0s,4850
58
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js.map,sha256=Y4wYB4ILwY9fs9GvpxBDVPWCbEjDN-msphQi-wLzcac,4166
59
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.js,sha256=FRaeOBQ7DHQvbm0Wt7J2hhKAyhj56ij0Ht_lq6SmDh4,12899
60
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js,sha256=aByzKwfIVpeT95QUPkhicaS9x4So9gHus-aqRffQl2I,4526
61
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js.map,sha256=Mfy7mfbOr5dZ3WdIINXCu9PT-uLEu5JBCzgsGfW8qz4,5031
62
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.js,sha256=8o2kEVkxN7YesKsJTJPnRayzKeExzK6dHztaGV-Sq9I,4791
63
63
  aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js,sha256=DF2rnqR8qco3MrbD8butcMpgZnzmKNAIgyXRs6o48-E,2156
64
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js.map,sha256=m2SkRK5RUjR1Qq3gpmKCPUc7NyUlGKAIIdMqFZPAmAs,1795
65
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.js,sha256=MTAr9a3sN6jzDI3UVCLDKfZK0OYf7bIRsOLt0gmqwq8,24149
66
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js,sha256=9GsuIqAj9-DoaC1QGXbBkNSJkpSodU9Mw4_On9ESy5o,8586
67
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js.map,sha256=GTwDmg1XYqko5snq1f5_mdqe2eavE_NSAtFFa7aWn9I,9552
68
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.js,sha256=vasGyoutgJWlj7Bjb2FajKtbpc4zArlMktPYaJeVWWo,6342
64
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js.map,sha256=m-XVo0cyCboBq4BnPrRTIHTTZEr_qame-uIMMIIWBC4,1793
65
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.js,sha256=6jT2QxxzFZHeB9fXlmITstm09CJMdFb4kn_bwjE-hYw,25266
66
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js,sha256=zJPT1SA9Xxd5K6j1mP1LM4s0oehNZvXjjEZlu6tRv1Y,8987
67
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js.map,sha256=W1sfyBlqYTw1gOw0Qi2AeVrFrJh4VwCIu8nFyL-HF64,9886
68
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.js,sha256=Hc2rToRzy3Bl3U5_pIEDouE-fxMr4SPPp1I_7XubXoE,6275
69
69
  aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js,sha256=C7jW2eyYj_-X6bUGehUVcEEnONhyh29a9KEChAZbcN0,3274
70
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js.map,sha256=eUr4LsxRbGMOfG5VSRm6RiiGcpWe_uu_NkUoGZm8tKw,2422
71
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.js,sha256=b9zwLkvzqG0JHZjp_ypzS-HDswKsujU3xYynlUE8NoA,10368
72
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js,sha256=JQFMkm9-KHyKPTMGr93RGxZ17yitSIhFIhv4HxBTmI4,3826
73
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js.map,sha256=Y-HPkb-oUElMEmcrnCUZRGVOXSg80dQqezIT1ClGhM4,4406
74
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.js,sha256=Jv0FlYbmwmSMB5gLp11tLWdgqu4UWHsCh3wFksPvmr0,9783
75
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js,sha256=S-GrTqaWjKLH8u9eXFP4AeNbFd2EPBUdEJGVtH_m4Zw,3953
76
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js.map,sha256=8gQWRJm4p4p00B-P7C2zqZ4J8QDNkAw6qsqqThNKbTY,3373
70
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js.map,sha256=dzh9xgcymA1sPdH0PSNIyYUR3WYva4jLrbhfLWNC4Hw,2420
71
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.js,sha256=QVXGD366XzMH8ZBN5XTgAu58mJOaa4IQr96dBu8w_qE,10651
72
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js,sha256=Az3tI4PzepxprBijV4FBrf7aFjjxDfAotXk7ArlCX7c,3930
73
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js.map,sha256=lPsdt0YmoSbfruPtedcPOTsx_aBD5YcLxOURdyM4wtU,4486
74
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.js,sha256=giuCb3m7VQTEtn1HVc6uuQuOcl--8x97W-GaOhZ0u3s,9795
75
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js,sha256=kClbBp9zxf_yOgKU0wBPxiN5UyZbeK3xWGp71fGIM4k,3423
76
+ aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js.map,sha256=Xyw08oY8cY97GOrPCiaZWZZtSjLexMoUdAA53WVJaGk,3620
77
77
  aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool.js,sha256=pTWjL2naLgfZ9L6jSibNty2ZFmJt9PNMx8tm6imu0mM,2909
78
78
  aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool.min.js,sha256=_8B8T_Ec-tFmcdXaiPOSIgFl183ohz1u9SN9s9213AA,813
79
79
  aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool.min.js.map,sha256=6s-ynI-maKOt08BZjqb3r-a1xRPD7E36ECJ8Kpb4NHs,1062
80
- aa_intel_tool/templates/aa_intel_tool/base.html,sha256=I2abc-eowCHPj-L86az9WLIK-O2OAqTsLuOHiHp6SYQ,4645
80
+ aa_intel_tool/templates/aa_intel_tool/base.html,sha256=_yIoLzXc0FJBAnQKlieLb3Z4BPAJ-Fso57DKClHJ3mA,2141
81
81
  aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-chatscan-highlight-js.html,sha256=JngEbZl9VTTz_O3l-EfTV--ZrVNXtlUBekVdhfohk4Y,106
82
82
  aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-chatscan-js.html,sha256=xBxaOlHOmefupGsUOR_hHLI77W_vpDYwRto8DlixCVU,310
83
83
  aa_intel_tool/templates/aa_intel_tool/bundles/aa-intel-tool-css.html,sha256=zQshuYs8YZK5DP7jCzOVVzS6ZnWRmRQAv7WV3kxj7ag,81
@@ -91,7 +91,7 @@ aa_intel_tool/templates/aa_intel_tool/partials/body/scan-retention-note.html,sha
91
91
  aa_intel_tool/templates/aa_intel_tool/partials/footer/app-translation-footer.html,sha256=nDZPOnsQLBN9meAhxnhd0ynUQIVi3YPzhi47n89zcIg,422
92
92
  aa_intel_tool/templates/aa_intel_tool/partials/index/form.html,sha256=EBt4fejLwk5xN9qm9BA3T6cWYtmcDeXnrGFD9rWT3X4,3114
93
93
  aa_intel_tool/templates/aa_intel_tool/partials/scan/buttons.html,sha256=eaef9QpXyBDBd0qWA5MGhh8OlqW32MlSsBz8Scq5lzU,744
94
- aa_intel_tool/templates/aa_intel_tool/partials/scan/evetime.html,sha256=USB2IYLUqlp3nWjME1YUIvhzaqZGsCcnwiGAMryexqU,170
94
+ aa_intel_tool/templates/aa_intel_tool/partials/scan/evetime.html,sha256=37LaqcWwC08UrXjrEA-lfGS5WGTaMhrOea2UiLlJcxs,170
95
95
  aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/alliances.html,sha256=s763QzNCRA0PAw_7hccSIURBWosKL1TqIW9XvWPs3F8,1540
96
96
  aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html,sha256=37_6twG-D11m3cFZxu3BNsKM7RzQy2ezIJzrbtt9Ugk,1564
97
97
  aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/pilots.html,sha256=4h_tx2sbVxpCge8ryy7nTiYe0jmFFLOBUaMCd5Rf5SQ,1567
@@ -109,28 +109,30 @@ aa_intel_tool/templates/aa_intel_tool/views/scan/chatlist.html,sha256=t-YpvHlzM3
109
109
  aa_intel_tool/templates/aa_intel_tool/views/scan/dscan.html,sha256=G4vASN4GbWPuwAgMA9AX2LeNDfwrPGDuHRN9uZcVHo0,2177
110
110
  aa_intel_tool/templates/aa_intel_tool/views/scan/fleetcomp.html,sha256=cnQ4-XJJEonIJ-s-LnV_Ah-ug0opqDi38mm-801KZc8,2010
111
111
  aa_intel_tool/templatetags/__init__.py,sha256=sP2D1ovt2gGAPLcGQkByRgXYhvUJ6C52mZMlLIALQ8s,37
112
- aa_intel_tool/templatetags/aa_intel_tool.py,sha256=_XLig7J4eRGnkE0YRWJhjVhgN0dYGQVDAk_RYakoMY4,2609
112
+ aa_intel_tool/templatetags/aa_intel_tool.py,sha256=KRSpyEiP2-lJtp6Y5fHDDL-QSbew2kjvHSPxbm4kaoo,2747
113
113
  aa_intel_tool/tests/__init__.py,sha256=NLuMBNDHYOXDmPgpyG-g_kDaATVQWv1iC-dJ8BA1kZc,29
114
114
  aa_intel_tool/tests/test_access.py,sha256=_T1-SskmhrkC141lU_LvmUigeG3mPpYTabA9Q03rLIo,2747
115
- aa_intel_tool/tests/test_admin.py,sha256=yw97GjqqzNNFfJiSJ1MkBeuQfTGvF0JAmvhvRycqMKg,2072
116
- aa_intel_tool/tests/test_app_settings.py,sha256=6hqLWlWnFYeNLIdY7yOqPSqLhTeaSwfoRy__TnGIAdc,2738
115
+ aa_intel_tool/tests/test_admin.py,sha256=p4o-1M9AUn9mnBgMO9FweiTk_yPipx3mfGTI6DP3bjw,2485
116
+ aa_intel_tool/tests/test_app_settings.py,sha256=GaGxZmIsTB790JdzLCapLPXjRGQCYrOp8jrIsNReahw,3235
117
117
  aa_intel_tool/tests/test_auth_hooks.py,sha256=Xikx6HYWgSarLiHVxnQmRpFBQNt-xfYgb53CjGvvJcY,2451
118
118
  aa_intel_tool/tests/test_helper_data_structures.py,sha256=1zRuh54-6YtDt7M1w7JpBRHlvS2rgBdnzvWLXV9Kl3s,765
119
- aa_intel_tool/tests/test_models.py,sha256=rtwWDO251OoU6mHo-6u0LS0X7qb7uHtDIPoY3iEvhS0,817
120
- aa_intel_tool/tests/test_parser.py,sha256=H2zBZa7e9gxE1Ieln7-PhvJ8Tx7YGO7e0YjqCrRYvK4,3922
119
+ aa_intel_tool/tests/test_helper_eve_character.py,sha256=Vsy6jEI4yJ2h5rxBFdk64MJc5QZioCdTUhMv1o-TOkk,12330
120
+ aa_intel_tool/tests/test_models.py,sha256=QPmzint8djEFj6PfEM3AfuT1cqIrDehCUsorAqNoCy0,5804
121
+ aa_intel_tool/tests/test_parser_general.py,sha256=RL6fmuhZsudHZ9Zvrq5IThoovFrtfgsXPu8eQwkuTsM,25013
121
122
  aa_intel_tool/tests/test_parser_helper_db.py,sha256=f8qqPKUxG39X77iEICh_P1UmXDbHPnJc_tXe3FuxGYs,1642
122
- aa_intel_tool/tests/test_templatetags.py,sha256=XNEEVy-PI29Ogy1uX0Z3KCX2D_wBvDfH3tQcd_kn15s,2693
123
+ aa_intel_tool/tests/test_parser_module_chatlist.py,sha256=QTpoWUddqh4Mus-Yezh7Y8wu9gfHjcxulFbRNP1dRpo,4583
124
+ aa_intel_tool/tests/test_templatetags.py,sha256=NdFCLy4KDoE-_WheZ0a36LGdzVvkPXCXZe-zP_i-j5k,3306
123
125
  aa_intel_tool/tests/utils.py,sha256=rRKeEZ2GkuoFJb7WoTgOOaXhlNwyb0xH3-5WRbWITBs,1435
124
126
  aa_intel_tool/tests/test-data/chatscan-faulty.txt,sha256=E1kv5BaZGagLP9VTaac8sVt0PMUMNpyMMqkx3dCZ8cg,40
125
127
  aa_intel_tool/tests/test-data/chatscan.txt,sha256=QkZER0l6-iw7uwTiDIpp2PUQ4NecaHWX83rZSrLp_LI,40
126
128
  aa_intel_tool/tests/test-data/dscan-german-client.txt,sha256=GKMfjZUYWW7ZSwhcAeElBv6Au53cHY_PlPJAvCpN1Aw,9082
127
129
  aa_intel_tool/tests/test-data/dscan-russian-client.txt,sha256=ngKOlyCaxrV3NiewfTRxcGoRMOCGHfY0j9TG7vPnMTk,579
128
- aa_intel_tool/tests/test-data/dscan.txt,sha256=fYf1MIY_nh2npAt2BzUjGz9XYP7LQnrxrBujQkQrgGk,3059
130
+ aa_intel_tool/tests/test-data/dscan.txt,sha256=1bW-Kj33hI7tQIc6JH59rBKb36OJLJuDou3K3_a4hkY,18793
129
131
  aa_intel_tool/tests/test-data/fleetcomp.txt,sha256=BYqCJznI3e6jlHTQwmr08wZr2D_anUdR-9yfu2-RJcI,234
130
132
  aa_intel_tool/views/__init__.py,sha256=zf5e30BdJ772oDJkQnBfFIi5a7-HEJByUIkv0iz3Kr8,29
131
133
  aa_intel_tool/views/ajax.py,sha256=7xBsd0Eg6enDl7JeI9vNJXaF66lWjhStLfYdJGAobvM,911
132
134
  aa_intel_tool/views/general.py,sha256=c2xD--Kkc9IfJg2x7VALPMhvwbssIY0qsbdFqfJEh-s,4040
133
- aa_intel_tool-2.6.0.dist-info/METADATA,sha256=Fv09panWmOSypx2ZhXg60SVLDlNIRxMP7SRBZQs64Dg,55091
134
- aa_intel_tool-2.6.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
135
- aa_intel_tool-2.6.0.dist-info/licenses/LICENSE,sha256=UTib95uJWe2NQIG3TzU8-Hm-eaEZFqv9fqsjNT_xKWU,35151
136
- aa_intel_tool-2.6.0.dist-info/RECORD,,
135
+ aa_intel_tool-2.6.2.dist-info/METADATA,sha256=Ig1wpnLJoH5B8GHaNf1Mf3oy5uvXCyvqUFTauS_PWag,55085
136
+ aa_intel_tool-2.6.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
137
+ aa_intel_tool-2.6.2.dist-info/licenses/LICENSE,sha256=UTib95uJWe2NQIG3TzU8-Hm-eaEZFqv9fqsjNT_xKWU,35151
138
+ aa_intel_tool-2.6.2.dist-info/RECORD,,
@@ -1,135 +0,0 @@
1
- """
2
- Testing the parsers
3
- """
4
-
5
- # Django
6
- from django.test import TestCase
7
-
8
- # AA Intel Tool
9
- from aa_intel_tool.exceptions import ParserError
10
- from aa_intel_tool.parser.general import check_intel_type, parse_intel
11
- from aa_intel_tool.tests.utils import (
12
- load_chatscan_faulty_txt,
13
- load_chatscan_txt,
14
- load_dscan_txt,
15
- load_fleetcomp_txt,
16
- )
17
-
18
-
19
- class TestParserGeneral(TestCase):
20
- """
21
- Testing parser.general.py
22
- """
23
-
24
- def test_check_intel_type_dscan(self):
25
- """
26
- Test should return 'dscan' as the expected intel type
27
-
28
- :return:
29
- :rtype:
30
- """
31
-
32
- form_data = load_dscan_txt()
33
- scan_data = str(form_data).splitlines()
34
-
35
- intel_type = check_intel_type(scan_data=scan_data)
36
- expected_intel_type = "dscan"
37
-
38
- self.assertEqual(first=intel_type, second=expected_intel_type)
39
-
40
- def test_check_intel_type_chatlist(self):
41
- """
42
- Test should return 'chatlist' as the expected intel type
43
-
44
- :return:
45
- :rtype:
46
- """
47
-
48
- form_data = load_chatscan_txt()
49
- scan_data = str(form_data).splitlines()
50
-
51
- intel_type = check_intel_type(scan_data=scan_data)
52
- expected_intel_type = "chatlist"
53
-
54
- self.assertEqual(first=intel_type, second=expected_intel_type)
55
-
56
- def test_check_intel_type_fleetcomp(self):
57
- """
58
- Test should return 'fleetcomp' as the expected intel type
59
-
60
- :return:
61
- :rtype:
62
- """
63
-
64
- form_data = load_fleetcomp_txt()
65
- scan_data = str(form_data).splitlines()
66
-
67
- intel_type = check_intel_type(scan_data=scan_data)
68
- expected_intel_type = "fleetcomp"
69
-
70
- self.assertEqual(first=intel_type, second=expected_intel_type)
71
-
72
- def test_check_intel_type_malformed_data(self):
73
- """
74
- Test should throw a ParserError as the expected intel type
75
- This happens when invalid data has been posted
76
-
77
- :return:
78
- :rtype:
79
- """
80
-
81
- form_data = load_chatscan_faulty_txt()
82
- scan_data = str(form_data).splitlines()
83
-
84
- expected_exception = ParserError
85
- expected_message = "A parser error occurred » No suitable parser found. Input is not a supported intel type or malformed …" # pylint: disable=line-too-long
86
-
87
- with self.assertRaises(expected_exception=expected_exception):
88
- check_intel_type(scan_data=scan_data)
89
-
90
- with self.assertRaisesMessage(
91
- expected_exception=expected_exception, expected_message=expected_message
92
- ):
93
- check_intel_type(scan_data=scan_data)
94
-
95
- def test_parse_intel_with_invalid_form_data(self):
96
- """
97
- Test should return a ParserError as parsed intel data for invalid form data
98
-
99
- :return:
100
- :rtype:
101
- """
102
-
103
- form_data = load_chatscan_faulty_txt()
104
-
105
- expected_exception = ParserError
106
- expected_message = "A parser error occurred » No suitable parser found. Input is not a supported intel type or malformed …" # pylint: disable=line-too-long
107
-
108
- with self.assertRaises(ParserError):
109
- parse_intel(form_data=form_data)
110
-
111
- with self.assertRaisesMessage(
112
- expected_exception=expected_exception, expected_message=expected_message
113
- ):
114
- parse_intel(form_data=form_data)
115
-
116
- def test_parse_intel_empty_form_data(self):
117
- """
118
- Test should throw a ParserError as parsed intel data for empty form data
119
-
120
- :return:
121
- :rtype:
122
- """
123
-
124
- form_data = ""
125
-
126
- expected_exception = ParserError
127
- expected_message = "A parser error occurred » No data to parse …"
128
-
129
- with self.assertRaises(expected_exception=expected_exception):
130
- parse_intel(form_data=form_data)
131
-
132
- with self.assertRaisesMessage(
133
- expected_exception=expected_exception, expected_message=expected_message
134
- ):
135
- parse_intel(form_data=form_data)