Skip to content

Commit

Permalink
Move stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Raj committed Sep 24, 2020
1 parent aeab454 commit 4675851
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

import { cloneDeep, isEqual } from 'lodash';
import { Event, EventEmitter } from 'vscode';
import { traceVerbose } from '../../common/logger';
import { createDeferred } from '../../common/utils/async';
import { areSameEnvironment, PythonEnvInfo, PythonEnvKind } from '../base/info';
import { traceVerbose } from '../../../../common/logger';
import { createDeferred } from '../../../../common/utils/async';
import { areSameEnvironment, PythonEnvInfo, PythonEnvKind } from '../../info';
import {
ILocator, IPythonEnvsIterator, PythonEnvUpdatedEvent, PythonLocatorQuery,
} from '../base/locator';
import { PythonEnvsChangedEvent } from '../base/watcher';
} from '../../locator';
import { PythonEnvsChangedEvent } from '../../watcher';

/**
* Combines duplicate environments received from the incoming locator into one and passes on unique environments
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

import { cloneDeep } from 'lodash';
import { Event, EventEmitter } from 'vscode';
import { traceVerbose } from '../../common/logger';
import { areSameEnvironment, PythonEnvInfo } from '../base/info';
import { InterpreterInformation } from '../base/info/interpreter';
import { traceVerbose } from '../../../../common/logger';
import { areSameEnvironment, InterpreterInformation } from '../../../info';
import { IEnvironmentInfoService } from '../../../info/environmentInfoService';
import { PythonEnvInfo } from '../../info';
import {
ILocator, IPythonEnvsIterator, PythonEnvUpdatedEvent, PythonLocatorQuery,
} from '../base/locator';
import { PythonEnvsChangedEvent } from '../base/watcher';
import { IEnvironmentInfoService } from '../info/environmentInfoService';
ILocator, PythonLocatorQuery, IPythonEnvsIterator, PythonEnvUpdatedEvent,
} from '../../locator';
import { PythonEnvsChangedEvent } from '../../watcher';

/**
* Calls environment info service which runs `interpreterInfo.py` script on environments received
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import { assert, expect } from 'chai';
import { isEqual } from 'lodash';
import * as path from 'path';
import { EventEmitter } from 'vscode';
import { PythonEnvInfo, PythonEnvKind } from '../../../client/pythonEnvironments/base/info';
import { PythonEnvUpdatedEvent } from '../../../client/pythonEnvironments/base/locator';
import { PythonEnvsChangedEvent } from '../../../client/pythonEnvironments/base/watcher';
import { PythonEnvInfo, PythonEnvKind } from '../../../../../client/pythonEnvironments/base/info';
import { PythonEnvUpdatedEvent } from '../../../../../client/pythonEnvironments/base/locator';
import {
mergeEnvironments,
PythonEnvsReducer,
} from '../../../client/pythonEnvironments/collection/environmentsReducer';
import { sleep } from '../../core';
import { createEnv, getEnvs, SimpleLocator } from '../base/common';
} from '../../../../../client/pythonEnvironments/base/locators/composite/environmentsReducer';
import { PythonEnvsChangedEvent } from '../../../../../client/pythonEnvironments/base/watcher';
import { sleep } from '../../../../core';
import { createEnv, getEnvs, SimpleLocator } from '../../common';

suite('Environments Reducer', () => {
suite('iterEnvs()', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ import { cloneDeep } from 'lodash';
import * as path from 'path';
import { ImportMock } from 'ts-mock-imports';
import { EventEmitter } from 'vscode';
import { ExecutionResult } from '../../../client/common/process/types';
import { Architecture } from '../../../client/common/utils/platform';
import { PythonEnvInfo, PythonEnvKind } from '../../../client/pythonEnvironments/base/info';
import { parseVersion } from '../../../client/pythonEnvironments/base/info/pythonVersion';
import { PythonEnvUpdatedEvent } from '../../../client/pythonEnvironments/base/locator';
import { PythonEnvsChangedEvent } from '../../../client/pythonEnvironments/base/watcher';
import { PythonEnvsResolver } from '../../../client/pythonEnvironments/collection/environmentsResolver';
import * as ExternalDep from '../../../client/pythonEnvironments/common/externalDependencies';
import { EnvironmentInfoService } from '../../../client/pythonEnvironments/info/environmentInfoService';
import { sleep } from '../../core';
import { createEnv, getEnvs, SimpleLocator } from '../base/common';
import { ExecutionResult } from '../../../../../client/common/process/types';
import { Architecture } from '../../../../../client/common/utils/platform';
import { PythonEnvInfo, PythonEnvKind } from '../../../../../client/pythonEnvironments/base/info';
import { parseVersion } from '../../../../../client/pythonEnvironments/base/info/pythonVersion';
import { PythonEnvUpdatedEvent } from '../../../../../client/pythonEnvironments/base/locator';
import { PythonEnvsResolver } from '../../../../../client/pythonEnvironments/base/locators/composite/environmentsResolver';
import { PythonEnvsChangedEvent } from '../../../../../client/pythonEnvironments/base/watcher';
import * as ExternalDep from '../../../../../client/pythonEnvironments/common/externalDependencies';
import { EnvironmentInfoService } from '../../../../../client/pythonEnvironments/info/environmentInfoService';
import { sleep } from '../../../../core';
import { createEnv, getEnvs, SimpleLocator } from '../../common';

suite('Environments Resolver', () => {
/**
Expand Down

0 comments on commit 4675851

Please sign in to comment.