Usually the enclosure should be bigger than that for the size snake you have but since it is short term and under the circumstances it should be fine. Keep us informed to how you go because it helps the people who gave you advice to learn as well by knowing if it works or not and also some of the more experienced keepers on here might have other ideas if it doesn't work.