Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
docker-py
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
docker-py
Commits
02e77176
Kaydet (Commit)
02e77176
authored
May 07, 2015
tarafından
Joffrey F
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge pull request #587 from docker/fix-586
Fixes for "make integration-test"
üst
bef23feb
2fdc433d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
Makefile
Makefile
+3
-2
version.py
docker/version.py
+1
-1
integration_test.py
tests/integration_test.py
+2
-0
No files found.
Makefile
Dosyayı görüntüle @
02e77176
.PHONY
:
all build test integration-test unit-test
HOST_TMPDIR
=
test
-n
"
$(TMPDIR)
"
&&
echo
$(TMPDIR)
||
echo
/tmp
all
:
test
build
:
...
...
@@ -11,5 +13,4 @@ unit-test: build
docker run docker-py python tests/test.py
integration-test
:
build
docker run
-v
/var/run/docker.sock:/var/run/docker.sock docker-py python tests/integration_test.py
docker run
-e
NOT_ON_HOST
=
true
-v
`
$(HOST_TMPDIR)
`
:/tmp
-v
/var/run/docker.sock:/var/run/docker.sock docker-py python tests/integration_test.py
docker/version.py
Dosyayı görüntüle @
02e77176
version
=
"1.2.
2
"
version
=
"1.2.
3-dev
"
version_info
=
tuple
([
int
(
d
)
for
d
in
version
.
replace
(
"-dev"
,
""
)
.
split
(
"."
)])
tests/integration_test.py
Dosyayı görüntüle @
02e77176
...
...
@@ -39,6 +39,7 @@ from test import Cleanup
# export; history; insert; port; push; tag; get; load; stats
DEFAULT_BASE_URL
=
os
.
environ
.
get
(
'DOCKER_HOST'
)
EXEC_DRIVER_IS_NATIVE
=
True
NOT_ON_HOST
=
os
.
environ
.
get
(
'NOT_ON_HOST'
,
False
)
warnings
.
simplefilter
(
'error'
)
create_host_config
=
docker
.
utils
.
create_host_config
...
...
@@ -1435,6 +1436,7 @@ class TestImportFromStream(ImportTestCase):
self
.
tmp_imgs
.
append
(
img_id
)
@unittest.skipIf
(
NOT_ON_HOST
,
'Tests running inside a container'
)
class
TestImportFromURL
(
ImportTestCase
):
'''Tests downloading an image over HTTP.'''
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment