Run the integration tests against a local fake server when the user p… #511

Merged
merged 1 commit into from May 26, 2016

Conversation

Projects
None yet
2 participants
Member

elopio commented May 24, 2016

…assword is not in the environment.

LP: #1585023

Member

elopio commented May 24, 2016

This is a branch pre-macaroons. To seed the fake servers that we will use to test parts of the store communication.

integration_tests/__init__.py
+ email = email or os.getenv(
+ 'TEST_USER_EMAIL', 'u1test+snapcraft@canonical.com')
+ password = password or os.getenv(
+ 'TEST_USER_PASSWORD', 'test correct password')
@sergiusens

sergiusens May 24, 2016

Collaborator

shouldn't test correct password be an empty string? Or is the self.skipTest call not needed anymore?

@elopio

elopio May 24, 2016

Member

the skip is not needed. I'll remove it.

Member

elopio commented May 25, 2016

retest this please

Member

elopio commented May 26, 2016

This is missing the fake upload server. I'm on it.

Member

elopio commented May 26, 2016

retest this please

Member

elopio commented May 26, 2016

retest this please

Run the integration tests against a local fake server when the user p…
…assword is not in the environment.

LP: #1585023
Collaborator

sergiusens commented May 26, 2016

retest this please

+ scan_complete_path = (
+ self._DEV_API_PATH + 'api/click-scan-complete/updown/')
+ if parsed_path.path.startswith(scan_complete_path):
+ self._handle_scan_complete_request()
@sergiusens

sergiusens May 26, 2016

Collaborator

@elopio for a TODO, a counter that makes the client call this at least twice.

Collaborator

sergiusens commented May 26, 2016

👍

@sergiusens sergiusens merged commit e4936f3 into snapcore:master May 26, 2016

4 checks passed

Examples tests Success
Details
autopkgtest Success
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage decreased (-0.7%) to 95.657%
Details

earnubs added a commit to earnubs/snapcraft that referenced this pull request May 26, 2016

Merge branch 'master' of github.com:ubuntu-core/snapcraft into node-e…
…ngine

* 'master' of github.com:ubuntu-core/snapcraft:
  Run the integration tests against a local fake server when the user password is not in the environment. (#511)
  Correct autotools tests to use configflags (#521)

josepht added a commit to josepht/snapcraft that referenced this pull request May 31, 2016

Run the integration tests against a local fake server when the user p…
…assword is not in the environment. (#511)

LP: #1585023

@elopio elopio deleted the elopio:macaroons0 branch Jan 30, 2017

kalikiana pushed a commit to kalikiana/snapcraft that referenced this pull request Apr 6, 2017

Run the integration tests against a local fake server when the user p…
…assword is not in the environment. (#511)

LP: #1585023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment