Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pylint pep8 fixes #185

Merged
merged 4 commits into from
Jan 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions tests/IntegrationTests.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import dash
import dash_core_components
import dash_core_components as dcc
import dash_html_components as html
import importlib
import multiprocessing
import percy
import sys
import time
import unittest
import os
import sys
from selenium import webdriver
import percy


class IntegrationTests(unittest.TestCase):
Expand All @@ -28,13 +21,12 @@ def setUpClass(cls):
cls.driver = webdriver.Chrome()

loader = percy.ResourceLoader(
webdriver=cls.driver
webdriver=cls.driver
)
cls.percy_runner = percy.Runner(loader=loader)

cls.percy_runner.initialize_build()


@classmethod
def tearDownClass(cls):
super(IntegrationTests, cls).tearDownClass()
Expand Down
12 changes: 3 additions & 9 deletions tests/test_integration.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
from dash import Dash
from dash.dependencies import Input, Output, State, Event
import dash
from multiprocessing import Value
import dash_html_components as html
import dash_core_components as dcc
from dash import Dash
from dash.dependencies import Input, Output
from .IntegrationTests import IntegrationTests
from .utils import assert_clean_console, invincible, wait_for
from multiprocessing import Value
import time
import re
import itertools
import json


class Tests(IntegrationTests):
Expand All @@ -21,7 +16,6 @@ def wait_for_element_by_id(id):
return self.driver.find_element_by_id(id)
self.wait_for_element_by_id = wait_for_element_by_id


def test_simple_callback(self):
app = Dash(__name__)
app.layout = html.Div([
Expand Down
2 changes: 0 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import json
import time


Expand All @@ -14,7 +13,6 @@ def wrap():
return wrap



class WaitForTimeout(Exception):
"""This should only be raised inside the `wait_for` function."""
pass
Expand Down