Skip to content

Commit

Permalink
fixing broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
himynamesdave committed Nov 29, 2024
1 parent 459856d commit 80cbf88
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pip3 install -r requirements.txt
st run --checks all http://127.0.0.1:8001/api/schema --generation-allow-x00 true
```


## Run tests

Download the files used for tests:
Expand All @@ -39,26 +38,26 @@ python3 tests/add_files.py
It is also possible to control what files are uploaded by using the `report_id` value found in `add_files.py`, e.g..

```shell
python3 tests/add_files.py --report-ids 6cb8665e-3607-4bbe-a9a3-c2a46bd13630 b2869cb5-5270-4543-ac71-601cc8cd2e3b
python3 tests/add_files.py --report-ids report--6cb8665e-3607-4bbe-a9a3-c2a46bd13630 report--b2869cb5-5270-4543-ac71-601cc8cd2e3b
```

PDF: Bitdefender rdstealer

```shell
python3 tests/add_files.py --report-ids aaec934b-9141-4ff7-958b-3b99a7b24234
python3 tests/add_files.py --report-ids report--aaec934b-9141-4ff7-958b-3b99a7b24234
```

HTML: GroupIB 0ktapus


```shell
python3 tests/add_files.py --report-ids 5795e067-72a4-4953-87ed-f6c56dc6f639
python3 tests/add_files.py --report-ids report--5795e067-72a4-4953-87ed-f6c56dc6f639
```

Word: txt2stix local extractions docx

```shell
python3 tests/add_files.py --report-ids 2bd196b5-cc59-491d-99ee-ed5ea2002d61
python3 tests/add_files.py --report-ids report--2bd196b5-cc59-491d-99ee-ed5ea2002d61
```


Expand Down

0 comments on commit 80cbf88

Please sign in to comment.