You are not allowed to deduct any expense against your T4 income unless you have T2200 from employer.
Cost of your Real estate license courses should be treated as Tuition and if you had to pay for exams it is also claimed under tuition.
For business expenses in 2018 that you had in Real Estate sales you have to complete Business form T2125 even though you did not generate any income.