def register_and_login(self, username, password):
        self.register(username, password, password)
        self.login(username, password)
Ensure changes to file f are physically on disk.
dataset/ETHPy150Open eugenkiss/Simblin/test/test_views.py/ViewTestCase.register_and_login--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/_sync_flush