A Bradford woman has been in court for having a kitchen knife in a public place.