Skip to content

Commit

Permalink
Small fixes and optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
tengzl33t committed Sep 12, 2023
1 parent 19772ab commit 473cf60
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "A client library for the ThreatX API"
authors = ["Nikita Ratskov <nikita.ratskov@threatx.com>"]
license = ""
readme = "README.md"
packages = [{include = "txapiclient"}]
packages = [{include = "threatx_api_client"}]

[tool.poetry.dependencies]
python = "^3.10"
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_client.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from unittest import TestCase

from txapiclient import TXAPIIncorrectEnvironment, Client, TXAPIIncorrectToken, TXAPIIncorrectCommand, \
from threatx_api_client import TXAPIIncorrectEnvironment, Client, TXAPIIncorrectToken, TXAPIIncorrectCommand, \
TXAPIResponseError


Expand Down
2 changes: 1 addition & 1 deletion txapiclient/__init__.py → threatx_api_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import requests

from txapiclient.exceptions import TXAPIIncorrectEnvironment, TXAPIIncorrectCommand, TXAPIResponseError, \
from threatx_api_client.exceptions import TXAPIIncorrectEnvironment, TXAPIIncorrectCommand, TXAPIResponseError, \
TXAPIIncorrectToken


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ class TXAPIIncorrectCommand(TXAPIException):


class TXAPIResponseError(TXAPIException):
pass
pass

0 comments on commit 473cf60

Please sign in to comment.