Skip to content

Commit

Permalink
Merge pull request #41 from Zubax/fix-imports
Browse files Browse the repository at this point in the history
Fix imports
  • Loading branch information
pavel-kirienko authored Aug 27, 2019
2 parents b5acaae + 8efc176 commit 6e0a3c9
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ async def on_connection_request(selected_port):
await asyncio.sleep(0.5)
widget.on_connection_initialization_progress_report('Success!', 1.0)

from view.device_model_representation import SoftwareVersion, HardwareVersion
from kucher.view.device_model_representation import SoftwareVersion, HardwareVersion
out = BasicDeviceInfo(name='com.zubax.whatever',
description='Joo Janta 200 Super-Chromatic Peril Sensitive Sunglasses',
globally_unique_id=b'0123456789abcdef',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#

import asyncio
from view.device_model_representation import Register
from kucher.view.device_model_representation import Register


def get_mock_registers():
Expand Down
2 changes: 1 addition & 1 deletion kucher/view/widgets/spinbox_linked_with_slider.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def _with_events_suppressed(self):
def _unittest_spinbox_linked_with_slider():
import time
from PyQt5.QtWidgets import QApplication, QMainWindow, QLayout
from view.utils import lay_out_horizontally, lay_out_vertically
from kucher.view.utils import lay_out_horizontally, lay_out_vertically

app = QApplication([])

Expand Down
2 changes: 1 addition & 1 deletion test_linux.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
PYTHONPATH=kucher pytest
pytest

pycodestyle
1 change: 0 additions & 1 deletion test_windows.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
set PYTHONPATH=kucher
pytest

pycodestyle

0 comments on commit 6e0a3c9

Please sign in to comment.