diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-07-26 21:39:51 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-07-26 21:39:51 -0500 |
| commit | dd1328a16f56bf9bdcf2f1d0a42a5561988232d7 (patch) | |
| tree | df6c0622503848defe8b8896c61b3fbf8774787b | |
| parent | Reword usage paragraph (diff) | |
| download | lirc-dd1328a16f56bf9bdcf2f1d0a42a5561988232d7.zip | |
Remove DefaultAddress and DefaultSocket and rename test files
| -rw-r--r-- | lirc/connection/default_address.py | 12 | ||||
| -rw-r--r-- | lirc/connection/default_socket.py | 13 | ||||
| -rw-r--r-- | tests/test_client.py (renamed from tests/test_lirc.py) | 0 | ||||
| -rw-r--r-- | tests/test_reply_packet_parser.py (renamed from tests/test_reply_packet.py) | 0 |
4 files changed, 0 insertions, 25 deletions
diff --git a/lirc/connection/default_address.py b/lirc/connection/default_address.py deleted file mode 100644 index 4d87703..0000000 --- a/lirc/connection/default_address.py +++ /dev/null @@ -1,12 +0,0 @@ -from enum import Enum - - -class DefaultAddress(Enum): - """ - Default addresses to use for connecting to the - lircd daemon, depending on the operating system. - """ - - LINUX = "/var/run/lirc/lircd" - WINDOWS = ("localhost", 8765) - DARWIN = "/opt/run/var/run/lirc/lircd" diff --git a/lirc/connection/default_socket.py b/lirc/connection/default_socket.py deleted file mode 100644 index ee95529..0000000 --- a/lirc/connection/default_socket.py +++ /dev/null @@ -1,13 +0,0 @@ -import socket -from enum import Enum - - -class DefaultSocket(Enum): - """ - Default socket to use for the lircd socket, depending - on the operating system. - """ - - LINUX = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) - DARWIN = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) - WINDOWS = socket.socket(socket.AF_INET, socket.SOCK_STREAM) diff --git a/tests/test_lirc.py b/tests/test_client.py index 4253bf0..4253bf0 100644 --- a/tests/test_lirc.py +++ b/tests/test_client.py diff --git a/tests/test_reply_packet.py b/tests/test_reply_packet_parser.py index 86ae311..86ae311 100644 --- a/tests/test_reply_packet.py +++ b/tests/test_reply_packet_parser.py |