Skip to content

Commit

Permalink
feat+fix+docs+: (hopefully) Fixed the crucial iteration bug when ther…
Browse files Browse the repository at this point in the history
…e is several flats to apply

- fixed test data and updated all test logics
- Fixed Flat element list having wrong order
- Added missing WBS numbers 220 and 240
- Update some variable names
  • Loading branch information
Vel-San committed Feb 16, 2024
1 parent fafe3ce commit 1d1053a
Show file tree
Hide file tree
Showing 15 changed files with 3,035 additions and 4,048 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
offline_viewings/angebote_pages/**
offline_viewings/apartments_expose_pdfs/**
# Exclude
!requirements.txt
!requirements.txt
!test-data/**
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
offline_viewings/angebote_pages/**
offline_viewings/apartments_expose_pdfs/**
# Exclude
!requirements.txt
!requirements.txt
!test-data/**
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ As of now, there are no timeouts, bot checks, or captchas on the website (which
- [X] Download the viewing of an apartment as a PDF (Available on WBM) for records keeping
- [X] Make a docker container out of the bot
- [X] CI/CD for Github
- [X] Fix test-data
- [ ] Change "successful_applications.txt" to JSON type
- [ ] Add support for multi user wbm_config files
- [ ] Fix test-data
- [ ] Add "excluded_applications.json" that shows all applications that were excluded by the filter
- [ ] Automatically detect if internet network connection is down and pause/restart once back
- [ ] Make an compiled exec of the bot using pyinstaller
984 changes: 984 additions & 0 deletions test-data/angebote.html

Large diffs are not rendered by default.

644 changes: 644 additions & 0 deletions test-data/details.html

Large diffs are not rendered by default.

644 changes: 644 additions & 0 deletions test-data/details_2.html

Large diffs are not rendered by default.

644 changes: 644 additions & 0 deletions test-data/details_3.html

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions test-data/wbm_test_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"first_name": "John",
"last_name": "Doe",
"sex": "m",
"emails": [
"random_user@outlook.com"
],
"street": "ABC. 123",
"zip_code": "11223",
"city": "Berlin",
"phone": "49112233",
"wbs": "yes",
"wbs_date": "01/01/2000",
"wbs_num": "140",
"wbs_rooms": "3",
"wbs_special_housing_needs": "no",
"filter": ["1-zimmer"]
}
Loading

0 comments on commit 1d1053a

Please sign in to comment.