pass the sniff test

If you have passed the sniff test, it means that you have been shown to be trusted and morally acceptable. Usually passing the sniff test is in relation to a person who has proven trustworthy by others and has not done something wrong, but it can also be used for a situation which is morally acceptable. The origin of the phrase is from dogs who find people hiding something by sniffing them for drugs or other illegal means.