Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
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)
1
Konular (issue)
1
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ç
SulinOS
inary
Commits
40b74439
Kaydet (Commit)
40b74439
authored
Tem 15, 2010
tarafından
Fatih Aşıcı
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tests: Set pisi config before running tests
üst
db4a4928
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
runtests.py
tests/runtests.py
+13
-0
No files found.
tests/runtests.py
Dosyayı görüntüle @
40b74439
...
...
@@ -15,6 +15,9 @@ import os
import
unittest
import
database
import
pisi
import
pisi.context
as
ctx
from
database.repodbtest
import
RepoDBTestCase
from
database.packagedbtest
import
PackageDBTestCase
from
database.sourcedbtest
import
SourceDBTestCase
...
...
@@ -46,6 +49,16 @@ from uritest import UriTestCase
from
utiltest
import
UtilTestCase
from
versiontest
import
VersionTestCase
def
setup
():
options
=
pisi
.
config
.
Options
()
options
.
ignore_build_no
=
False
options
.
destdir
=
'repos/tmp'
pisi
.
api
.
set_options
(
options
)
pisi
.
api
.
set_comar
(
False
)
ctx
.
config
.
values
.
general
.
distribution
=
"Pardus"
ctx
.
config
.
values
.
general
.
distribution_release
=
"2007"
if
__name__
==
'__main__'
:
if
os
.
path
.
exists
(
"repos/tmp"
):
...
...
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