Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Tests for fetch_oui_from_custom #22
As discussed in issue #19 here are some tests for fetch_oui_from_custom. I've based them on the existing tests of other methods so you should hopefully find the structure familiar.
Also, I've made one small change to the method itself such that it now calls _fetch_oui_from_url() internally rather than just the plain ua->get. This means that it benefits from all the same error handling as the other data-retrieval methods.
I hope you find these useful. Sorry for the delay in getting them to you.