Пример #1
0
 def test_bucketlist_filled(self):
     """ test if bucketlist is empty"""
     newbucketlist = Bucketlist.create_bucketlist('', '')
     print(newbucketlist)
     self.assertEqual(newbucketlist, None, msg="You must write something")
Пример #2
0
 def test_create_bucketlist(self):
     """" check if dummy_bucket can append to the central store [bucketlist_store]"""
     dummy_bucketlist = self.store.bucketlist_store.append(
         self.dummy_bucketlist)
     new_bucket = Bucketlist.create_bucketlist('Before 2017 ends?', '0')
     assert new_bucket == dummy_bucketlist