JQuery establece un valor de atributo múltiple

$(myObj).attr({"data-test-1": num1, "data-test-2": num2});
Ill Impala