diff options
author | Andrew Leeming <andrew.leeming@codethink.co.uk> | 2017-01-12 18:04:10 +0000 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-01-16 16:31:06 -0500 |
commit | 20dfe24ce4b4db820ba30139b783cfc29bc98121 (patch) | |
tree | baaca33c163d367db713b812e70905bb94c763fd /tests/sources/ostree.py | |
parent | de654203aa5a3bceb390da88a434484219ab74ce (diff) | |
download | buildstream-20dfe24ce4b4db820ba30139b783cfc29bc98121.tar.gz |
Changing the pull command from pull_with_options to just the basic pull. GPG key checking is done when adding remote
Diffstat (limited to 'tests/sources/ostree.py')
-rw-r--r-- | tests/sources/ostree.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sources/ostree.py b/tests/sources/ostree.py index f86b2c8f2..49c8360be 100644 --- a/tests/sources/ostree.py +++ b/tests/sources/ostree.py @@ -65,7 +65,6 @@ def run_ostree_mini_server(): PORT = 8000 Handler = http.server.SimpleHTTPRequestHandler httpd = socketserver.TCPServer(("", PORT), Handler) - threading.Thread(target=httpd.serve_forever, daemon=True).start() ############################################################### @@ -136,7 +135,7 @@ def test_ostree_conf(tmpdir, datafiles): # Test other config settings assert(setup.source.remote_name == 'origin') - assert(setup.source.url == 'http://127.0.0.1:8000') + assert(setup.source.url == 'http://127.0.0.1:8000/tmp/repo') assert(setup.source.track == 'my-branch') assert(setup.source.gpg_key is None) assert(setup.source.ostree_dir == 'repo') @@ -147,6 +146,7 @@ def test_ostree_fetch(tmpdir, datafiles): setup = OSTreeSetup(datafiles, tmpdir) assert(setup.source.get_kind() == 'ostree') + print("fetch cwd : {}".format(os.getcwd())) # Make sure we preflight and fetch first, cant stage without fetching setup.source.preflight() setup.source.fetch() |