mirror of
https://github.com/gsi-upm/senpy
synced 2025-08-23 18:12:20 +00:00
PEP8 compliance
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
|
||||
import os
|
||||
import logging
|
||||
|
||||
try:
|
||||
import unittest.mock as mock
|
||||
except ImportError:
|
||||
@@ -8,10 +10,12 @@ from senpy.extensions import Senpy
|
||||
from flask import Flask
|
||||
from flask.ext.testing import TestCase
|
||||
|
||||
def check_dict(indic, template):
|
||||
return all(item in indic.items() for item in template.items())
|
||||
|
||||
class Blueprints_Test(TestCase):
|
||||
def check_dict(indic, template):
|
||||
return all(item in indic.items() for item in template.items())
|
||||
|
||||
|
||||
class BlueprintsTest(TestCase):
|
||||
def create_app(self):
|
||||
self.app = Flask("test_extensions")
|
||||
self.senpy = Senpy()
|
||||
@@ -20,7 +24,6 @@ class Blueprints_Test(TestCase):
|
||||
self.senpy.add_folder(self.dir)
|
||||
return self.app
|
||||
|
||||
|
||||
def test_home(self):
|
||||
""" Calling with no arguments should ask the user for more arguments """
|
||||
resp = self.client.get("/")
|
||||
|
Reference in New Issue
Block a user