Skip to content

Commit

Permalink
Remove unused imports and fix import order. Remove extra whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed Jan 4, 2018
1 parent 6bbe636 commit 1720aaf
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions test/test_integration.py
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
# -*- 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
import dash_html_components as html
import dash_core_components as dcc
import dash_table_experiments as dt

from datetime import datetime
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 +426,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 1720aaf

Please sign in to comment.