Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
refactoring: package model moved to gcp_census
Browse files Browse the repository at this point in the history
  • Loading branch information
marcin-kolda committed Jun 7, 2017
1 parent 8307494 commit 4a24333
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ before_install:
- pip install coveralls
- pip install pylint
script:
- find . -name "*.py" -path "./*" -not \( -path "./lib/*" -o -path "./google-cloud-sdk/*" \) | xargs pylint --reports=yes --rcfile=.pylintrc && coverage run --source=model,gcp_census test_runner.py --test-path tests/ -v ./google-cloud-sdk
- find . -name "*.py" -path "./*" -not \( -path "./lib/*" -o -path "./google-cloud-sdk/*" \) | xargs pylint --reports=yes --rcfile=.pylintrc && coverage run --source=gcp_census test_runner.py --test-path tests/ -v ./google-cloud-sdk
after_success:
coveralls
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import webapp2

from model.model_creator import ModelCreator
from gcp_census.model.model_creator import ModelCreator


class ModelCreatorHandler(webapp2.RequestHandler):
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from gcp_census.bigquery.gcp_metadata_handler import GcpStartMetadataHandler, \
GcpTableMetadataHandler, GcpDatasetMetadataHandler, \
GcpProjectMetadataHandler
from model.model_creator_handler import ModelCreatorHandler
from gcp_census.model.model_creator_handler import ModelCreatorHandler


class MainHandler(webapp2.RequestHandler):
Expand Down
4 changes: 2 additions & 2 deletions tests/model_creator_handler_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from google.appengine.ext import testbed
from mock import patch

from model.model_creator import ModelCreator
from model.model_creator_handler import ModelCreatorHandler
from gcp_census.model.model_creator import ModelCreator
from gcp_census.model.model_creator_handler import ModelCreatorHandler


class TestModelCreatorHandler(unittest.TestCase):
Expand Down
2 changes: 1 addition & 1 deletion tests/model_creator_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from google.appengine.ext import testbed
from mock import patch, Mock

from model.model_creator import ModelCreator
from gcp_census.model.model_creator import ModelCreator
import test_utils


Expand Down

0 comments on commit 4a24333

Please sign in to comment.