def setUp(self) -> None: collection = Connection.get_collection(LinkedAccount) collection.delete_many({}) collection = Connection.get_collection(LinkedBalance) collection.delete_many({}) collection = Connection.get_collection(LinkedSong) collection.delete_many({}) collection = Connection.get_collection(LinkedSinger) collection.delete_many({}) collection = Connection.get_collection(LinkedAlbum) collection.delete_many({}) collection = Connection.get_collection(LinkedArtist) collection.delete_many({}) collection = Connection('linked').collection('linkedalbumsartists' 'linkedartistsalbums') collection.delete_many({})
def setUp(self) -> None: collection = Connection.get_collection(PLUser) collection.delete_many({}) collection = Connection.get_collection(PLArticle) collection.delete_many({}) # collection = Connection.get_collection(LLPLUser) # collection.delete_many({}) # collection = Connection.get_collection(LLPLArticle) # collection.delete_many({}) collection = Connection.get_collection(LJPLUser) collection.delete_many({}) collection = Connection.get_collection(LJPLArticle) collection.delete_many({}) collection = Connection('preload').collection( 'ljplarticlesauthorsljplusersarticles') collection.delete_many({})
def setUp(self) -> None: collection = Connection.get_collection(SimpleStrId) collection.delete_many({}) collection = Connection.get_collection(LinkedStrIdAuthor) collection.delete_many({}) collection = Connection.get_collection(LinkedStrIdArticle) collection.delete_many({}) collection = Connection.get_collection(LinkedStrIdSinger) collection.delete_many({}) collection = Connection.get_collection(LinkedStrIdSong) collection.delete_many({}) collection = Connection.get_collection(LinkedStrIdUser) collection.delete_many({}) collection = Connection.get_collection(LinkedStrIdProduct) collection.delete_many({}) collection = Connection('linked').collection( join_table_name(LinkedStrIdUser.cdef.field_named('products'))) collection.delete_many({})
def setUp(self) -> None: collection = Connection.get_collection(SimpleSong) collection.delete_many({}) collection = Connection.get_collection(SimpleArtist) collection.delete_many({}) collection = Connection.get_collection(LinkedAuthor) collection.delete_many({}) collection = Connection.get_collection(LinkedPost) collection.delete_many({}) collection = Connection.get_collection(LinkedUser) collection.delete_many({}) collection = Connection.get_collection(LinkedProfile) collection.delete_many({}) collection = Connection.get_collection(LinkedStudent) collection.delete_many({}) collection = Connection.get_collection(LinkedCourse) collection.delete_many({}) collection = Connection('linked').collection('linkedcoursesstudents' 'linkedstudentscourses') collection.delete_many({}) collection = Connection.get_collection(LinkedOrder) collection.delete_many({}) collection = Connection.get_collection(LinkedBuyer) collection.delete_many({}) collection.delete_many({}) collection = Connection.get_collection(LinkedCOrder) collection.delete_many({}) collection = Connection.get_collection(LinkedCBuyer) collection.delete_many({}) collection = Connection.get_collection(LinkedAccount) collection.delete_many({}) collection = Connection.get_collection(LinkedBalance) collection.delete_many({}) collection = Connection.get_collection(LinkedBomb) collection.delete_many({}) collection = Connection.get_collection(LinkedSoldier) collection.delete_many({}) collection = Connection('linked').collection('linkedbombssoldiers' 'linkedsoldiersbombs') collection.delete_many({}) collection = Connection.get_collection(LinkedCProfile) collection.delete_many({}) collection = Connection.get_collection(LinkedDUser) collection.delete_many({}) collection = Connection.get_collection(LinkedDProfile) collection.delete_many({}) collection = Connection.get_collection(LinkedCUser) collection.delete_many({}) collection = Connection.get_collection(LinkedNote) collection.delete_many({}) collection = Connection.get_collection(LinkedNotebook) collection.delete_many({}) collection = Connection.get_collection(LinkedRNote) collection.delete_many({}) collection = Connection.get_collection(LinkedRNotebook) collection.delete_many({}) collection = Connection.get_collection(LinkedCompany) collection.delete_many({}) collection = Connection.get_collection(LinkedOwner) collection.delete_many({}) collection = Connection('linked').collection('linkedcompaniesowners' 'linkedownerscompanies') collection.delete_many({})
def setUp(self) -> None: collection = Connection.get_collection(SimpleSong) collection.delete_many({}) collection = Connection.get_collection(SimpleArtist) collection.delete_many({}) collection = Connection.get_collection(LinkedAuthor) collection.delete_many({}) collection = Connection.get_collection(LinkedPost) collection.delete_many({}) collection = Connection.get_collection(LinkedProfile) collection.delete_many({}) collection = Connection.get_collection(LinkedUser) collection.delete_many({}) collection = Connection.get_collection(LinkedStudent) collection.delete_many({}) collection = Connection.get_collection(LinkedCourse) collection.delete_many({}) collection = Connection('linked').collection('linkedcoursesstudents' 'linkedstudentscourses') collection.delete_many({}) collection = Connection.get_collection(ChainedUser) collection.delete_many({}) collection = Connection.get_collection(ChainedProfile) collection.delete_many({}) collection = Connection.get_collection(ChainedAddress) collection.delete_many({}) collection = Connection.get_collection(LinkedSong) collection.delete_many({}) collection = Connection.get_collection(LinkedSinger) collection.delete_many({}) collection = Connection.get_collection(TodoList) collection.delete_many({}) collection = Connection.get_collection(TodoListOwner) collection.delete_many({}) collection = Connection.get_collection(PopSong) collection.delete_many({}) collection = Connection.get_collection(PopSinger) collection.delete_many({}) collection = Connection.get_collection(HiphopSong) collection.delete_many({}) collection = Connection.get_collection(HiphopSinger) collection.delete_many({}) collection = Connection.get_collection(MusicProduct) collection.delete_many({}) collection = Connection.get_collection(MusicUser) collection.delete_many({})
def setUp(self) -> None: collection = Connection.get_collection(SimpleSong) collection.delete_many({}) collection = Connection.get_collection(SimpleArtist) collection.delete_many({}) collection = Connection.get_collection(LinkedAuthor) collection.delete_many({}) collection = Connection.get_collection(LinkedPost) collection.delete_many({}) collection = Connection.get_collection(LinkedProfile) collection.delete_many({}) collection = Connection.get_collection(LinkedUser) collection.delete_many({}) collection = Connection.get_collection(LinkedStudent) collection.delete_many({}) collection = Connection.get_collection(LinkedCourse) collection.delete_many({}) collection = Connection('linked').collection('linkedcoursesstudents' 'linkedstudentscourses') collection.delete_many({}) collection = Connection.get_collection(SimpleRecord) collection.delete_many({}) collection = Connection.get_collection(LinkedAlbum) collection.delete_many({}) collection = Connection.get_collection(LinkedArtist) collection.delete_many({}) collection = Connection('linked').collection( 'linkedalbumsartistslinkedartistsalbums') collection.delete_many({}) collection = Connection.get_collection(LinkedSong) collection.delete_many({}) collection = Connection.get_collection(LinkedSinger) collection.delete_many({})