Beispiel #1
0
    def test_save(self):
        rigathon_path = "rigathon_path"

        config = RigConfig(self.test_config_name)
        file_size = os.path.getsize(self.test_config_name)

        config.set_rigathon_path(rigathon_path)
        config.save()

        updated_file_size = os.path.getsize(self.test_config_name)
        self.assertNotEqual(file_size, updated_file_size)