Skip to content

Commit

Permalink
Change final set of files names to cover r3 suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsaxon committed Jan 4, 2020
1 parent 4ffc004 commit 64d17c6
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 6 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion pysonofflan/cli.py → pysonofflanr3/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import click_log
from click_log import ClickHandler

from pysonofflan import SonoffSwitch, Discover
from . import SonoffSwitch, Discover

if sys.version_info < (3, 5):
print("To use this script you need python 3.5 or newer! got %s"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/sonoff_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import threading
from flask import Flask, json, request
from zeroconf import Zeroconf, ServiceInfo
from pysonofflan import sonoffcrypto
from pysonofflanr3 import sonoffcrypto


next_port = 8082 # to stop conflicting with command line by default
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""Tests for `pysonofflan` package."""
import unittest
from click.testing import CliRunner
from pysonofflan import cli
from pysonofflanr3 import cli
from tests.sonoff_mock import start_device, stop_device


Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ deps =
flake8

commands =
flake8 pysonofflan
flake8 pysonofflanr3
flake8 tests

[testenv]
Expand All @@ -32,8 +32,8 @@ deps =
flake8

commands =
coverage run --source=pysonofflan setup.py test
flake8 pysonofflan
coverage run --source=pysonofflanr3 setup.py test
flake8 pysonofflanr3
flake8 tests

[pytest]
Expand Down

0 comments on commit 64d17c6

Please sign in to comment.