Skip to content

Commit bf3e565

Browse files
committed
Pre-commits
1 parent 8b0ddc0 commit bf3e565

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_smile.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
import os
88
from pprint import PrettyPrinter
99

10+
# String generation
11+
import random
12+
import string
13+
1014
# Testing
1115
import aiohttp
1216
import jsonpickle as json
1317
import pytest
1418

15-
# String genration
16-
import random
17-
import string
18-
1919
from plugwise.exceptions import (
2020
ConnectionFailedError,
2121
DeviceTimeoutError,
@@ -207,7 +207,7 @@ async def connect(self, broken=False, timeout=False, put_timeout=False):
207207
smile = Smile(
208208
host=server.host,
209209
username="smile",
210-
password=''.join(random.choice(string.ascii_lowercase) for i in range(8)),
210+
password="".join(random.choice(string.ascii_lowercase) for i in range(8)),
211211
port=server.port,
212212
websession=websession,
213213
)

0 commit comments

Comments
 (0)