I\'m trying to test a Django command by passing a file object as an argument:
a_file = open(\'Sample.xml\', \'rb\') call_command("process_xml", a_file, self.val