
import os

import six


# Import py.test hooks and fixtures for App Engine
from gcp.testing.appengine import (
    login,
    pytest_configure,
    pytest_runtest_call,
    run_tasks,
    testbed)

(login)
(pytest_configure)
(pytest_runtest_call)
(run_tasks)
(testbed)


def pytest_ignore_collect(path, config):
    """Skip App Engine tests in python 3 and if no SDK is available."""
    if 'appengine/standard' in str(path):
        if six.PY3:
            return True
        if 'GAE_SDK_PATH' not in os.environ:
            return True
    return False


import os

# Import py.test hooks and fixtures for App Engine
from gcp.testing.appengine import (
    login,
    pytest_configure,
    pytest_runtest_call,
    run_tasks,
    testbed)
import six

(login)
(pytest_configure)
(pytest_runtest_call)
(run_tasks)
(testbed)


def pytest_ignore_collect(path, config):
    """Skip App Engine tests in python 3 or if no SDK is available."""
    if 'appengine/standard' in str(path):
        if six.PY3:
            return True
        if 'GAE_SDK_PATH' not in os.environ:
            return True
    return False

Fix lint issue and review comments
Fix lint issue and review comments

Change-Id: I02a53961b6411247ef06d84dad7b533cb97d89f7

  
  import os
- 
- import six
- 
  
  # Import py.test hooks and fixtures for App Engine
  from gcp.testing.appengine import (
      login,
      pytest_configure,
      pytest_runtest_call,
      run_tasks,
      testbed)
+ import six
  
  (login)
  (pytest_configure)
  (pytest_runtest_call)
  (run_tasks)
  (testbed)
  
  
  def pytest_ignore_collect(path, config):
-     """Skip App Engine tests in python 3 and if no SDK is available."""
+     """Skip App Engine tests in python 3 or if no SDK is available."""
      if 'appengine/standard' in str(path):
          if six.PY3:
              return True
          if 'GAE_SDK_PATH' not in os.environ:
              return True
      return False
  
Fix lint issue and review comments
## Code Before:

import os

import six


# Import py.test hooks and fixtures for App Engine
from gcp.testing.appengine import (
    login,
    pytest_configure,
    pytest_runtest_call,
    run_tasks,
    testbed)

(login)
(pytest_configure)
(pytest_runtest_call)
(run_tasks)
(testbed)


def pytest_ignore_collect(path, config):
    """Skip App Engine tests in python 3 and if no SDK is available."""
    if 'appengine/standard' in str(path):
        if six.PY3:
            return True
        if 'GAE_SDK_PATH' not in os.environ:
            return True
    return False

## Instruction:
Fix lint issue and review comments
## Code After:

import os

# Import py.test hooks and fixtures for App Engine
from gcp.testing.appengine import (
    login,
    pytest_configure,
    pytest_runtest_call,
    run_tasks,
    testbed)
import six

(login)
(pytest_configure)
(pytest_runtest_call)
(run_tasks)
(testbed)


def pytest_ignore_collect(path, config):
    """Skip App Engine tests in python 3 or if no SDK is available."""
    if 'appengine/standard' in str(path):
        if six.PY3:
            return True
        if 'GAE_SDK_PATH' not in os.environ:
            return True
    return False
