Exemplo n.º 1
0
 def create_zovirax_registration(self, zovirax):
     glaxo = Manufacturer(name="GLAXO SMITHKLINE (PTY) LTD, SA")
     glaxo.save()
     
     sangala = self.create_and_return_sangala()
     
     registration = ProductRegistration(product=zovirax, country=sangala,
                                        manufacturer=glaxo)
     registration.save()
Exemplo n.º 2
0
 def create_lovire_registration(self, lovire):
     ranbaxy = Manufacturer(name="Ranbaxy Laboratories Ltd, India")
     ranbaxy.save()
     
     sangala = self.create_and_return_sangala()
     
     supplier = Supplier(name="CIPLA MEDPRO, RSA (company name)")
     supplier.save()
     
     registration = ProductRegistration(product=lovire, country=sangala,
                                        manufacturer=ranbaxy, 
                                        supplier=supplier)
     registration.save()
Exemplo n.º 3
0
    def set_up_and_return_unique_pharma(self):
        unique_pharma = Manufacturer(name="Unique Pharmaceutical Labs, India")
        unique_pharma.save()

        return unique_pharma
 def set_up_and_return_unique_pharma(self):
     unique_pharma = Manufacturer(name="Unique Pharmaceutical Labs, India")
     unique_pharma.save()
     
     return unique_pharma