Skip to content

Commit

Permalink
auto-sort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
christabor committed Jan 23, 2017
1 parent 2be4e50 commit 2f8be68
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
8 changes: 5 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import os
import json
import os

from flask import Flask
import pytest

from flask_jsondash import charts_builder, db
from flask import Flask

from flask_jsondash import charts_builder
from flask_jsondash import db

URL_BASE = 'http://127.0.0.1:80'
app = Flask('test_flask_jsondash',
Expand Down
4 changes: 3 additions & 1 deletion tests/test_data_utils_filetree.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
from uuid import uuid1
import json

from uuid import uuid1

import pytest

from click.testing import CliRunner

from flask_jsondash.data_utils import filetree
Expand Down
1 change: 1 addition & 0 deletions tests/test_data_utils_filetree_digraph.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from uuid import uuid1

import pytest

from click.testing import CliRunner

from flask_jsondash.data_utils import filetree_digraph
Expand Down
2 changes: 1 addition & 1 deletion tests/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import pytest

from flask_jsondash import db
from flask_jsondash import settings
from flask_jsondash import mongo_adapter
from flask_jsondash import settings


def test_reformat_data():
Expand Down
3 changes: 2 additions & 1 deletion tests/test_filters.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from datetime import datetime as dt
import json

from datetime import datetime as dt

import pytest

from flask_jsondash import charts_builder
Expand Down
1 change: 1 addition & 0 deletions tests/test_mongo_adapter.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import json

from datetime import datetime

from pymongo.cursor import Cursor as MongoCursor
Expand Down

0 comments on commit 2f8be68

Please sign in to comment.