Skip to content

Commit

Permalink
Merge pull request plotly#139 from jbampton/pylint-pep8-fixes
Browse files Browse the repository at this point in the history
Remove unused imports and fix import order. Remove extra whitespace.
  • Loading branch information
chriddyp committed Jan 4, 2018
1 parent 6b3df49 commit b721680
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions packages/dash-core-components/test/test_integration.py
Original file line number Diff line number Diff line change
@@ -1,30 +1,27 @@
# -*- coding: utf-8 -*-
import dash_core_components as dcc
import dash_html_components as html
import dash_table_experiments as dt
import base64
from datetime import datetime
import io
import os
import sys
import time
import pandas as pd

import dash
from dash.dependencies import Input, Output, State

from datetime import datetime
import dash_html_components as html
import dash_core_components as dcc
import dash_table_experiments as dt
from selenium import webdriver
from selenium.webdriver.common.keys import Keys

try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
import base64
import importlib
import io
import multiprocessing
import os
import pandas as pd
import percy
import sys
import time
import unittest

from .IntegrationTests import IntegrationTests
from .utils import assert_clean_console, invincible, wait_for, waiter
from .utils import invincible, wait_for, waiter

# Download geckodriver: https://github.com/mozilla/geckodriver/releases
# And add to path:
Expand Down Expand Up @@ -431,7 +428,7 @@ def update_pathname(n_clicks, current_pathname):
# Check that pathname is updated through an a tag click via props
self.driver.find_element_by_id('test-a').click()
waiter(self.wait_for_element_by_id)

self.snapshot('link -- /test/pathname/a')
self.assertEqual(self.driver.find_element_by_id('test-pathname').text, '/test/pathname/a')
self.assertEqual(self.driver.find_element_by_id('test-search').text, '')
Expand Down

0 comments on commit b721680

Please sign in to comment.