Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
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
cpython
Commits
c6d471d6
Kaydet (Commit)
c6d471d6
authored
Ara 05, 2013
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add a script similar to xmltests.py to run all SSL-related unit tests
üst
8e7f3942
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
ssltests.py
Lib/test/ssltests.py
+22
-0
No files found.
Lib/test/ssltests.py
0 → 100755
Dosyayı görüntüle @
c6d471d6
# Convenience test module to run all of the SSL-related tests in the
# standard library.
import
sys
import
subprocess
TESTS
=
[
'test_asyncio'
,
'test_ftplib'
,
'test_hashlib'
,
'test_httplib'
,
'test_imaplib'
,
'test_nntplib'
,
'test_poplib'
,
'test_smtplib'
,
'test_smtpnet'
,
'test_urllib2_localnet'
,
'test_venv'
]
def
run_regrtests
(
*
extra_args
):
args
=
[
sys
.
executable
,
"-m"
,
"test"
]
if
not
extra_args
:
args
.
append
(
"-unetwork"
)
else
:
args
.
extend
(
extra_args
)
args
.
extend
(
TESTS
)
result
=
subprocess
.
call
(
args
)
sys
.
exit
(
result
)
if
__name__
==
'__main__'
:
run_regrtests
(
*
sys
.
argv
[
1
:])
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