Commit Graph

75 Commits

Author SHA1 Message Date
Fabio Erculiani
f4a8901512 [unittest] import fixes 2009-10-05 14:02:45 +02:00
Fabio Erculiani
b991b04920 [unittest] more Python 3.x porting work 2009-10-05 10:07:15 +02:00
Fabio Erculiani
6441b0d0ef [unittest] fix import statement 2009-10-04 18:01:35 +02:00
Fabio Erculiani
71825e9c76 [entropy] migrate codebase to Python 2.6 only syntax 2009-09-30 19:53:47 +02:00
Fabio Erculiani
c0d9b5e6f4 [entropy.core] Split entropy.core, introduce generic plugin loader
:: split entropy.core and move SystemSettings stuff to
   entropy.core.settings (and prepare external plugin support)
:: add EntropyPluginFactory generic class to entropy.core that
   will be used Entropy-wide to load external Entropy plugins
:: make entropy.spm Plugin Factory using entropy.core.EntropyPluginFactory
2009-08-30 18:59:35 +02:00
Fabio Erculiani
9359693cc5 [entropy.spm] make PortagePlugin to use SpmPlugin API, major API change 2009-08-29 21:31:43 +02:00
Fabio Erculiani
89062bf8f3 [entropy.db] complete API docstring and refactoring work 2009-08-15 22:27:41 +02:00
Fabio Erculiani
50f86ec9bd [tests] add EntropyRepository contentDiff test 2009-08-06 15:47:02 +02:00
Fabio Erculiani
9ea147d0db [entropy.db] API docs + addPackage() API changes
:: add more reviewed API documentation
:: addPackage() now does not do anything else but adding packages
   to repository, which is the intended original behaviour.
2009-08-03 23:10:59 +02:00
Fabio Erculiani
a77411a736 [entropy.db] reorganize Entropy database arch., add docstrings 2009-07-18 09:39:46 +02:00
Fabio Erculiani
5fafa4cc6c [entropy.db] API documentation + creation of base class for Entropy repository interfaces (EntropyRepository)
EntropyRepository will contain all the implementation independent
routines of Entropy repository interfaces (actually in LocalRepository)
2009-06-17 07:50:16 +02:00
Fabio Erculiani
f0771eb3a7 unit testing, db: add multi match tests 2009-05-25 22:59:55 +02:00
Fabio Erculiani
76998f6c30 move Spm metadata extractor to entropy.spm (was in entropy.client) 2009-05-24 17:50:06 +02:00
Fabio Erculiani
43c94a6507 unit testing: append correct sys.path to every test class 2009-05-15 13:43:31 +02:00
Fabio Erculiani
e7ca06ce96 unit testing, db: add test for insertLicenses with str input 2009-05-04 17:41:55 +02:00
Fabio Erculiani
e894e9254f unit testing, db: add another package metadata handling test 2009-04-29 15:42:15 +02:00
Fabio Erculiani
472366c966 unit testing, db: add 2 new tests 2009-04-29 14:52:17 +02:00
Fabio Erculiani
0a28af0ee6 unit testing, db, client: cleanly close Client instances 2009-04-20 20:01:26 +02:00
Fabio Erculiani
0a901a3de6 entropy.*: move atom matching package masking validation cache to
SystemSettings
2009-04-19 10:23:55 +02:00
Fabio Erculiani
e54c027534 unit testing, db: add package sets test, test package masking in test 2 2009-04-19 09:50:19 +02:00
Fabio Erculiani
f44d124581 unit testing, db: getPackageData trigger_unicode argument is now True
by default
2009-04-18 08:14:40 +02:00
Fabio Erculiani
5db8f6d4f1 unit testing, db: add atom matching tests 2009-04-17 07:02:34 +00:00
Fabio Erculiani
da78a860fd unit testing: add a new test to the db module
this test does the package metadata extraction, database insertion
and retrieval and compares the two dictionaries (the one returned
by the extractor against the one returned by the database)
2009-04-16 06:44:03 +02:00
Fabio Erculiani
3185cdf8d4 unit testing: print more output for each test run 2009-04-13 23:36:03 +02:00
Fabio Erculiani
8ac1b1ea85 add unit testing module 2009-04-13 23:32:41 +02:00