aa-intel-tool 2.6.1__py3-none-any.whl → 2.6.3__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.
- aa_intel_tool/__init__.py +1 -1
- aa_intel_tool/helper/eve_character.py +24 -36
- aa_intel_tool/helper/static_files.py +2 -2
- aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.po +30 -29
- aa_intel_tool/locale/de/LC_MESSAGES/django.mo +0 -0
- aa_intel_tool/locale/de/LC_MESSAGES/django.po +36 -35
- aa_intel_tool/locale/django.pot +31 -30
- aa_intel_tool/locale/es/LC_MESSAGES/django.po +32 -29
- aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.mo +0 -0
- aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.po +38 -33
- aa_intel_tool/locale/it_IT/LC_MESSAGES/django.po +30 -29
- aa_intel_tool/locale/ja/LC_MESSAGES/django.po +30 -29
- aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.mo +0 -0
- aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po +39 -33
- aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.po +30 -29
- aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.po +30 -29
- aa_intel_tool/locale/ru/LC_MESSAGES/django.mo +0 -0
- aa_intel_tool/locale/ru/LC_MESSAGES/django.po +38 -33
- aa_intel_tool/locale/sk/LC_MESSAGES/django.po +30 -29
- aa_intel_tool/locale/uk/LC_MESSAGES/django.mo +0 -0
- aa_intel_tool/locale/uk/LC_MESSAGES/django.po +129 -123
- aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.po +32 -29
- aa_intel_tool/parser/general.py +11 -16
- aa_intel_tool/parser/helper/db.py +8 -11
- aa_intel_tool/parser/module/chatlist.py +97 -126
- aa_intel_tool/parser/module/dscan.py +115 -147
- aa_intel_tool/parser/module/fleetcomp.py +85 -102
- aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.css +6 -19
- aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css +1 -1
- aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css.map +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.js +104 -64
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js.map +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.js +59 -59
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js.map +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.js +43 -43
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js.map +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.js +146 -105
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js.map +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.js +51 -51
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js.map +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.js +69 -59
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js.map +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.js +54 -32
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js +1 -1
- aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js.map +1 -1
- aa_intel_tool/templates/aa_intel_tool/base.html +4 -2
- aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/alliances.html +0 -2
- aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html +0 -2
- aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/pilots.html +0 -2
- aa_intel_tool/templates/aa_intel_tool/partials/scan/evetime.html +1 -1
- aa_intel_tool/tests/test-data/dscan.txt +250 -0
- aa_intel_tool/tests/test_admin.py +50 -38
- aa_intel_tool/tests/test_helper_eve_character.py +405 -0
- aa_intel_tool/tests/test_models.py +188 -4
- aa_intel_tool/tests/test_parser_general.py +771 -0
- aa_intel_tool/tests/test_parser_module_chatlist.py +154 -0
- {aa_intel_tool-2.6.1.dist-info → aa_intel_tool-2.6.3.dist-info}/METADATA +4 -4
- {aa_intel_tool-2.6.1.dist-info → aa_intel_tool-2.6.3.dist-info}/RECORD +66 -64
- aa_intel_tool/tests/test_parser.py +0 -135
- {aa_intel_tool-2.6.1.dist-info → aa_intel_tool-2.6.3.dist-info}/WHEEL +0 -0
- {aa_intel_tool-2.6.1.dist-info → aa_intel_tool-2.6.3.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)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aa-intel-tool
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.3
|
|
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
|
|
@@ -856,7 +856,7 @@ APPS_WITH_PUBLIC_VIEWS = [
|
|
|
856
856
|
]
|
|
857
857
|
```
|
|
858
858
|
|
|
859
|
-
>
|
|
859
|
+
> [!NOTE]
|
|
860
860
|
>
|
|
861
861
|
> If you don't have a list for `APPS_WITH_PUBLIC_VIEWS` yet, then add the whole
|
|
862
862
|
> block from here. This feature has been added in Alliance Auth v3.6.0 so you
|
|
@@ -919,7 +919,7 @@ Restart your Nginx service.
|
|
|
919
919
|
To customize the app, the following settings are available and can be made in
|
|
920
920
|
your `local.py`.
|
|
921
921
|
|
|
922
|
-
>
|
|
922
|
+
> [!WARNING]
|
|
923
923
|
>
|
|
924
924
|
> Enable the chat scan module at your own risk. This module has the potential to
|
|
925
925
|
> generate a huge number of ESI calls, which CCP might not be too happy about.
|
|
@@ -933,7 +933,7 @@ your `local.py`.
|
|
|
933
933
|
| INTELTOOL_CHATSCAN_MAX_PILOTS | Set the limit of pilots for chat scans, since these can take quite a long time to process. Set to 0 to disable. | 500 |
|
|
934
934
|
| INTELTOOL_DSCAN_GRID_SIZE | Set the grid size for D-Scans.<br/>This defines the size of the grid in km in which ships and structures are considered to be "on grid" | 10000 |
|
|
935
935
|
|
|
936
|
-
>
|
|
936
|
+
> [!NOTE]
|
|
937
937
|
>
|
|
938
938
|
> **A word about the chat scan limitations:**
|
|
939
939
|
>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
aa_intel_tool/__init__.py,sha256=
|
|
1
|
+
aa_intel_tool/__init__.py,sha256=5Thy5KKfPrcSXLexPxjEWNmGIuk63BuKDTbJL8Fws7o,135
|
|
2
2
|
aa_intel_tool/admin.py,sha256=ZSsxpL4LmV0nxQRww6BwY5BPLM23JxpnCPwMQbACv78,2441
|
|
3
3
|
aa_intel_tool/app_settings.py,sha256=oDhUQii5p_DqWnBRXg26Q3rZwSmElMlzkhtr5WqiRK8,2531
|
|
4
4
|
aa_intel_tool/apps.py,sha256=rfCtJ2bFQB4sDdl-zYo_i034oq-fF1Ad3NAU55NoBQk,452
|
|
@@ -10,74 +10,74 @@ 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=
|
|
14
|
-
aa_intel_tool/helper/static_files.py,sha256=
|
|
15
|
-
aa_intel_tool/locale/django.pot,sha256=
|
|
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=VCANZ44gNkRMJMQ-v-1_YtH-yDxbrHUotUd4g6rjjgU,13199
|
|
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=
|
|
18
|
-
aa_intel_tool/locale/de/LC_MESSAGES/django.mo,sha256=
|
|
19
|
-
aa_intel_tool/locale/de/LC_MESSAGES/django.po,sha256=
|
|
17
|
+
aa_intel_tool/locale/cs_CZ/LC_MESSAGES/django.po,sha256=ML894Drf7Be97Bzg4QqTFddMurJN3WtadKLY6LiFPts,13560
|
|
18
|
+
aa_intel_tool/locale/de/LC_MESSAGES/django.mo,sha256=e8PF0Qu91Fv2uM3y6nkgsFWmOS0z0eJO-lT5_h9fFAM,7729
|
|
19
|
+
aa_intel_tool/locale/de/LC_MESSAGES/django.po,sha256=8qe0IrvTEhW4TdSs4UIkbXTfVAIAT6UB7I5otqZ6thY,17303
|
|
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=
|
|
22
|
-
aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.mo,sha256=
|
|
23
|
-
aa_intel_tool/locale/fr_FR/LC_MESSAGES/django.po,sha256=
|
|
21
|
+
aa_intel_tool/locale/es/LC_MESSAGES/django.po,sha256=wA1q172QVbrOdOXFO3mZeGiGwC3vEw2kqrGt7IuAtfI,14365
|
|
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=ilkl_MtL2Q7hStuTYqef9eJcIlvCLjPccmX9IUgiPC4,17608
|
|
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=
|
|
25
|
+
aa_intel_tool/locale/it_IT/LC_MESSAGES/django.po,sha256=Tfev67EmcmdsabExncJiHEWiC5KeXe0MRRewTQ1wjYg,13249
|
|
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=
|
|
28
|
-
aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.mo,sha256=
|
|
29
|
-
aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po,sha256=
|
|
27
|
+
aa_intel_tool/locale/ja/LC_MESSAGES/django.po,sha256=S3ktUX5bkq9pOAVpbY5h4GK-h7Pi8xxjc8yEkYX-lTY,13522
|
|
28
|
+
aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.mo,sha256=2aMqsSR_qUV9PzMoBBrcfyQxyg3fLte-9zinJftQ4BQ,7525
|
|
29
|
+
aa_intel_tool/locale/ko_KR/LC_MESSAGES/django.po,sha256=MgWmgKkFWpGL7ANfoofDdNvRIIE603tAVv8ySKdZnNc,17687
|
|
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=
|
|
31
|
+
aa_intel_tool/locale/nl_NL/LC_MESSAGES/django.po,sha256=fHZs-BlEHLwlbsrm8jjzy7l6B2Ona3mIuW37cL4Fag4,13247
|
|
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=
|
|
34
|
-
aa_intel_tool/locale/ru/LC_MESSAGES/django.mo,sha256=
|
|
35
|
-
aa_intel_tool/locale/ru/LC_MESSAGES/django.po,sha256=
|
|
33
|
+
aa_intel_tool/locale/pl_PL/LC_MESSAGES/django.po,sha256=JfPYQEXLPLINIGIx7xHFLpxbCMNdffItWPC6ooKV9BY,13509
|
|
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=V2noJKgJ0NLn0JV2MfP-9HyLo_unjjJUBOF2WjlvF0c,20512
|
|
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=
|
|
38
|
-
aa_intel_tool/locale/uk/LC_MESSAGES/django.mo,sha256=
|
|
39
|
-
aa_intel_tool/locale/uk/LC_MESSAGES/django.po,sha256=
|
|
37
|
+
aa_intel_tool/locale/sk/LC_MESSAGES/django.po,sha256=FdTURgmv4jvr2x0HCioq23vmlCFoRrzc-uJuP70bgYk,13400
|
|
38
|
+
aa_intel_tool/locale/uk/LC_MESSAGES/django.mo,sha256=wqf9vgCMQhN9gAvJQmPSJy7YrjMueQrFZC4Stg5NpIE,10082
|
|
39
|
+
aa_intel_tool/locale/uk/LC_MESSAGES/django.po,sha256=YeIU5h8FCSIBeUZL043a-tZfLJcTBSKQpW19p6F3WcQ,19820
|
|
40
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=
|
|
41
|
+
aa_intel_tool/locale/zh_Hans/LC_MESSAGES/django.po,sha256=Gk3rSqFlNsIhqPO8LYMl7IgkdE6kAkAVdAJSZWD-uJw,14095
|
|
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=
|
|
48
|
-
aa_intel_tool/parser/helper/db.py,sha256=
|
|
49
|
-
aa_intel_tool/parser/module/chatlist.py,sha256=
|
|
50
|
-
aa_intel_tool/parser/module/dscan.py,sha256=
|
|
51
|
-
aa_intel_tool/parser/module/fleetcomp.py,sha256=
|
|
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=
|
|
54
|
-
aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css,sha256=
|
|
55
|
-
aa_intel_tool/static/aa_intel_tool/css/aa-intel-tool.min.css.map,sha256=
|
|
56
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.js,sha256=
|
|
57
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js,sha256=
|
|
58
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js.map,sha256=
|
|
59
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.js,sha256=
|
|
60
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js,sha256=
|
|
61
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js.map,sha256=
|
|
62
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.js,sha256=
|
|
63
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js,sha256=
|
|
64
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js.map,sha256=
|
|
65
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.js,sha256=
|
|
66
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js,sha256=
|
|
67
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js.map,sha256=
|
|
68
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.js,sha256=
|
|
69
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js,sha256=
|
|
70
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js.map,sha256=
|
|
71
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.js,sha256=
|
|
72
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js,sha256=
|
|
73
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js.map,sha256=
|
|
74
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.js,sha256=
|
|
75
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js,sha256=
|
|
76
|
-
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js.map,sha256=
|
|
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=uCOHft9PusMXgNxS2_u4rqEYHenUoHfggd3iBXEmEtE,11881
|
|
57
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js,sha256=Cg47JXUexM8jTmL_jWt9Kl-y8_TB3Y6rdJc0z0ivagw,5790
|
|
58
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan-highlight.min.js.map,sha256=yTv_1L2ht0trM0ZavONImDSED813mkanlmCH5stE1I4,4164
|
|
59
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.js,sha256=ufLYCD8quTuPhf4nZwHUIcaHch-pVemMKSYnBwavkR8,12625
|
|
60
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js,sha256=5XrHCzVbetzBBlJqNUQtO22RBqKBlp2xUf5cH2lk3Rc,4857
|
|
61
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-chatscan.min.js.map,sha256=8oQClIq-QS7lq1AVdeoFxzMogRiYYYZPQST1sBwBzzI,5154
|
|
62
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.js,sha256=b5vmeDT1MX0_5dgqiwZTSq0KoB_qqGshs1Ht7jewBy4,4789
|
|
63
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js,sha256=M2nRHyK7ugJ7lwymHcVxFtoOOp5OVHAN-2sOs4r3svM,2154
|
|
64
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan-highlight.min.js.map,sha256=PS0iJ_A6RWZdNsWBaXOI4UpQs3tN3nffkDc1Wv3Uxa4,1791
|
|
65
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.js,sha256=lijrzzhzh6Dv2celMfFo3knSPrga5sUNHWk0yeqiI4M,25751
|
|
66
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js,sha256=xD75u6CJdBQRI0pkccNy4WiCDdy7z-rtkXQWhrDMjPc,10072
|
|
67
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-dscan.min.js.map,sha256=tiz0JCBDDwRAR2sf2MJJ4G4Mjmu95VekpzvO5a-7R4c,10305
|
|
68
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.js,sha256=VdjeqTeeJC6WepYls1MKdAaJYFhOZOIvgLF82AAD4RY,6273
|
|
69
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js,sha256=iH8RoogdEh6Qh5Iz8gFvUCXBcklq2XJJbVw3oAysiHo,3272
|
|
70
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition-highlight.min.js.map,sha256=8VsUqoLXDWz6ze8bLUWGS55XFYOiL5qI_uNAAGdBJKQ,2418
|
|
71
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.js,sha256=sVTBR-YfS1IL5eeeaT-0WcAKxz_uvdkyzyhXV8gL8Qw,10621
|
|
72
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js,sha256=HmRxlx9HyP7Ff2NbBpQP3YSCvzoI5O7ugHCk6VMDSKY,4383
|
|
73
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-fleetcomposition.min.js.map,sha256=gyPLiAHXfxlwJr_MjVYDA2z6dFP5BBmS0yMj9ie6qFE,4654
|
|
74
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.js,sha256=mBiGxRiPLQsISReBDwjhzxB03u_z3uqFHOC24G_tqFA,9853
|
|
75
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js,sha256=B7PlRYhvUzUCIKQCkCMWAMOBP8QpIiD8lBPjm6r4uRA,3481
|
|
76
|
+
aa_intel_tool/static/aa_intel_tool/javascript/aa-intel-tool-scan-result-common.min.js.map,sha256=MyYrkauHK1O3vJxXIuEA0qyyh59BtnmsgLtbh78G6yQ,3660
|
|
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=
|
|
80
|
+
aa_intel_tool/templates/aa_intel_tool/base.html,sha256=Egzwy0TQha4fnakS7D9IJvweErinmvp2SlWLtN9Eak4,2289
|
|
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,10 +91,10 @@ 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=
|
|
95
|
-
aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/alliances.html,sha256=
|
|
96
|
-
aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html,sha256=
|
|
97
|
-
aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/pilots.html,sha256=
|
|
94
|
+
aa_intel_tool/templates/aa_intel_tool/partials/scan/evetime.html,sha256=37LaqcWwC08UrXjrEA-lfGS5WGTaMhrOea2UiLlJcxs,170
|
|
95
|
+
aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/alliances.html,sha256=b3VECGsJ_9OisNtmMP5jbbaOPmJuKtO8XXSLS1MafLE,1479
|
|
96
|
+
aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/corporations.html,sha256=BxZZIIPdwK4uUENphrHGUCEV_oiDGZE03FGqGg9dB0Y,1503
|
|
97
|
+
aa_intel_tool/templates/aa_intel_tool/partials/scan/chatlist/pilots.html,sha256=htMrkShGzYbHeAOHKnYDjnf7ZRD33nUMW2VhiCzRhks,1506
|
|
98
98
|
aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/interesting-on-grid.html,sha256=PCLWYF9EBOxr2YdE9uAS3yByLESKjC4vQIe6hKr8xeA,1512
|
|
99
99
|
aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/ships-breakdown.html,sha256=dp0ARqR8sZSc5aJqe1JaPf3PqME8-NMAIkt0ku-Li1E,1220
|
|
100
100
|
aa_intel_tool/templates/aa_intel_tool/partials/scan/dscan/system-information.html,sha256=pprbGBkQyMCgLv6gVjfx8MOz3NApyDEl9ZsRa0qbSSM,490
|
|
@@ -112,25 +112,27 @@ aa_intel_tool/templatetags/__init__.py,sha256=sP2D1ovt2gGAPLcGQkByRgXYhvUJ6C52mZ
|
|
|
112
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=
|
|
115
|
+
aa_intel_tool/tests/test_admin.py,sha256=p4o-1M9AUn9mnBgMO9FweiTk_yPipx3mfGTI6DP3bjw,2485
|
|
116
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/
|
|
120
|
-
aa_intel_tool/tests/
|
|
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
|
|
123
|
+
aa_intel_tool/tests/test_parser_module_chatlist.py,sha256=QTpoWUddqh4Mus-Yezh7Y8wu9gfHjcxulFbRNP1dRpo,4583
|
|
122
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=
|
|
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.
|
|
134
|
-
aa_intel_tool-2.6.
|
|
135
|
-
aa_intel_tool-2.6.
|
|
136
|
-
aa_intel_tool-2.6.
|
|
135
|
+
aa_intel_tool-2.6.3.dist-info/METADATA,sha256=B8Tg9m8YrqG3FIbX1FMLkZDcCy268dBIXBE-VcCHVys,55082
|
|
136
|
+
aa_intel_tool-2.6.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
137
|
+
aa_intel_tool-2.6.3.dist-info/licenses/LICENSE,sha256=UTib95uJWe2NQIG3TzU8-Hm-eaEZFqv9fqsjNT_xKWU,35151
|
|
138
|
+
aa_intel_tool-2.6.3.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)
|
|
File without changes
|
|
File without changes
|