[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] Unit Test Suggestion



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The test_api.py tests all use "some-id" as the repo name. Since the
tests can result in data in the database and/or files created on disk,
it might be easier to debug if each test used the test name as a prefix
to the repo name:


def test_create(self):
  self.rapi.create('test_create_repo', ...



- -- 
Jason Dobies
RHCE# 805008743336126
Freenode: jdob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMBr3vAAoJEOMmcTqOSQHCxeYH/Re/W6qPeVmPv5BQ/qa5euQv
CBupgXL+ayP2vLEkffi84L5a7/pB6GCtpPnIk3owHvVGHAPJqmsdaQnp72iIWXWl
p+ow17yrqS7dyLVE8T9wAgbdpAwyCnjPLfW3LGZhxoX/cCH3CaiA6oXtCeysbBu/
werse/o82aqUCvgiBMKoJ0E7LZkmIMDZQ+6enLaomfsZ9PmEEwTIaYt/b/TDi1V/
BRmhQqcQ0WRlt1Xd0GAH3jaOdwt+mhgnMmhTijR0eOlfsiJsoK6JIcgqORhvQ3Sa
YTVq+ibCtQRod+xDumxT87sTE6ZIeuq74Bcxyb05Wfc21e2lqlocPLPGnMtM4OQ=
=h7rY
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]