'''
This first applies all changes to the data source. Then it creates
and returns an RRsetCollection on top of the corresponding zone
- updater and returns it. Notice it might be impossible to apply more
- changes after that.
+ updater. Notice it might be impossible to apply more changes after
+ that.
This must not be called after a commit, or it'd throw ValueError.
'''
diff = Diff(self, Name('example.org'), single_update_mode=True)
diff.add_data(self.__rrset_soa)
collection = diff.get_rrset_collection()
- # Check it is commited
+ # Check it is applied
self.assertEqual(1, len(self.__data_operations))
self.assertEqual('add', self.__data_operations[0][0])
# Check the returned one is actually RRsetCollection