mirror of https://github.com/snachodog/mybuddy.git
Fix linter messages
Signed-off-by: Paul Konstantin Gerke <paulkgerke@craftware.info>
This commit is contained in:
parent
63d0b1373a
commit
53d4759add
|
@ -413,7 +413,9 @@ class TimerAPITestCase(TestBase.BabyBuddyAPITestCaseBase):
|
||||||
|
|
||||||
# Restart twice fails
|
# Restart twice fails
|
||||||
response = self.client.patch(f"{endpoint}restart/")
|
response = self.client.patch(f"{endpoint}restart/")
|
||||||
self.assertEqual(response.status_code, status.HTTP_412_PRECONDITION_FAILED)
|
self.assertEqual(
|
||||||
|
response.status_code, status.HTTP_412_PRECONDITION_FAILED
|
||||||
|
)
|
||||||
|
|
||||||
response = self.client.patch(f"{endpoint}stop/")
|
response = self.client.patch(f"{endpoint}stop/")
|
||||||
self.assertEqual(response.status_code, status.HTTP_200_OK)
|
self.assertEqual(response.status_code, status.HTTP_200_OK)
|
||||||
|
@ -424,7 +426,9 @@ class TimerAPITestCase(TestBase.BabyBuddyAPITestCaseBase):
|
||||||
|
|
||||||
# Stopping twice fails
|
# Stopping twice fails
|
||||||
response = self.client.patch(f"{endpoint}stop/")
|
response = self.client.patch(f"{endpoint}stop/")
|
||||||
self.assertEqual(response.status_code, status.HTTP_412_PRECONDITION_FAILED)
|
self.assertEqual(
|
||||||
|
response.status_code, status.HTTP_412_PRECONDITION_FAILED
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class TummyTimeAPITestCase(TestBase.BabyBuddyAPITestCaseBase):
|
class TummyTimeAPITestCase(TestBase.BabyBuddyAPITestCaseBase):
|
||||||
|
|
Loading…
Reference in New Issue