Skip to content

Commit

Permalink
Merge pull request #1032 from blacklanternsecurity/update-black
Browse files Browse the repository at this point in the history
Update black, pin version
  • Loading branch information
TheTechromancer authored Jan 27, 2024
2 parents 36659a5 + 021a0f6 commit 9044aee
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 28 deletions.
8 changes: 5 additions & 3 deletions bbot/test/test_step_1/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,10 @@ async def test_events(events, scan, helpers, bbot_config):
assert scan.make_event("テスト@ドメイン.テスト", dummy=True).data == "テスト@xn--eckwd4c7c.xn--zckzah"
assert scan.make_event("ドメイン.テスト:80", dummy=True).data == "xn--eckwd4c7c.xn--zckzah:80"
assert scan.make_event("http://ドメイン.テスト:80", dummy=True).data == "http://xn--eckwd4c7c.xn--zckzah/"
assert scan.make_event("http://ドメイン.テスト:80/テスト", dummy=True).data == "http://xn--eckwd4c7c.xn--zckzah/テスト"
assert (
scan.make_event("http://ドメイン.テスト:80/テスト", dummy=True).data
== "http://xn--eckwd4c7c.xn--zckzah/テスト"
)
# thai
assert (
scan.make_event("xn--12c1bik6bbd8ab6hd1b5jc6jta.com", dummy=True).data == "xn--12c1bik6bbd8ab6hd1b5jc6jta.com"
Expand Down Expand Up @@ -352,8 +355,7 @@ async def test_events(events, scan, helpers, bbot_config):
assert scan.make_event("ทดสอบ@เราเที่ยวด้วยกัน.com", dummy=True).data == "ทดสอบ@xn--12c1bik6bbd8ab6hd1b5jc6jta.com"
assert scan.make_event("เราเที่ยวด้วยกัน.com:80", dummy=True).data == "xn--12c1bik6bbd8ab6hd1b5jc6jta.com:80"
assert (
scan.make_event("http://เราเที่ยวด้วยกัน.com:80", dummy=True).data
== "http://xn--12c1bik6bbd8ab6hd1b5jc6jta.com/"
scan.make_event("http://เราเที่ยวด้วยกัน.com:80", dummy=True).data == "http://xn--12c1bik6bbd8ab6hd1b5jc6jta.com/"
)
assert (
scan.make_event("http://เราเที่ยวด้วยกัน.com:80/ทดสอบ", dummy=True).data
Expand Down
49 changes: 25 additions & 24 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ tldextract = "^5.1.1"

[tool.poetry.group.dev.dependencies]
flake8 = "^6.0.0"
black = "^23.1.0"
pytest-cov = "^4.0.0"
poetry-dynamic-versioning = "^0.21.4"
pytest-rerunfailures = "^11.1.2"
Expand All @@ -62,6 +61,7 @@ pytest-env = "^0.8.2"
pytest-timeout = "^2.1.0"
pytest = "^7.4.0"
pre-commit = "^3.4.0"
black = "24.1.0"

[tool.poetry.group.docs.dependencies]
mkdocs = "^1.5.2"
Expand Down

0 comments on commit 9044aee

Please sign in to comment.