The Islamic militant group praised the "knights of the caliphate" for the attack on a museum in Tunisia.