Module paludis :: Class FakeRepository
[show private | hide private]
[frames | no frames]

Type FakeRepository

object --+        
         |        
  instance --+    
             |    
    Repository --+
                 |
                FakeRepository


Fake repository for use in test cases.
Method Summary
  __init__(Environment, RepositoryName)
__init__(Environment, RepositoryName)
  __reduce__(...)
  add_category(...)
  add_package(...)
  add_version(...)
    Inherited from Repository
CategoryNamePartIterable category_names_containing_package(PackageNamePart)
Fetch categories that contain a named package.
bool has_category_named(CategoryNamePart)
Do we have a category with the given name?
bool has_package_named(QualifiedPackageName)
Do we have a package in the given category with the given name?
PackageIDIterable package_ids(QualifiedPackageName)
Fetch our versions.
QualifiedPackageNameIterable package_names(CategoryNamePart)
Fetch our package names.
bool some_ids_might_support_action(SupportsActionTestBase)
Might some of our IDs support a particular action?
    Inherited from instance
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Property Summary
    Inherited from Repository
  category_names: [ro] CategoryNamePartIterable Our category names.
  destination_interface: [ro] RepositoryDestinationInterface
  e_interface: [ro] RepositoryEInterface
  environment_variable_interface: [ro] RepositoryEnvironmentInterface
  mirrors_interface: [ro] RepositoryMirrorsInterface
  name: [ro] RepositoryName Our name.
  provides_interface: [ro] RepositoryProvidesInterface
  qa_interface: [ro] RepositoryQAInterface
  sets_interface: [ro] RepositorySetsInterface
  syncable_interface: [ro] RepositorySyncableInterface
  use_interface: [ro] RepositoryUseInterface
  virtuals_interface: [ro] RepositoryVirtualsInterface

Class Variable Summary
int __instance_size__ = 32                                                                    

Method Details

__init__(Environment, RepositoryName)
(Constructor)

__init__(Environment, RepositoryName)
Overrides:
__unknown__.__init__

Class Variable Details

__instance_size__

Type:
int
Value:
32                                                                    

Generated by Epydoc 2.1 on Mon Aug 4 19:40:19 2008 http://epydoc.sf.net