I have the following problem solved by my professor:
A company of high resistance painting products claims that, at the most, 1% of its containers have a weight outside specification limits. To investigate the plausibility of this assertion, a sample of n = 45 containers has been taken, which is such that only one container is defective. At the level α = 0.05, is there evidence against the manufacturer’s claim?
The way I thought I could test this is by setting: $$H_0:p=0.01$$ $$H_1:p<0.01$$, and testing this, I get that the null hypothesis is not rejected so that there is evidence against the manufacturer's claim. However, my professor solved it by testing: $$H_0:p=0.01$$ $$H_1:p>0.01$$ , and concludes that there is not enough evidence. I am really confused. How should this be approached?