nemith / netconf

NETCONF implementation in Go.
Other
29 stars 7 forks source link

fix CreateSubscription test #55

Closed nemith closed 1 year ago

nemith commented 1 year ago

Since the xml namespace for <create-subscription> is different from the base namespace it need to be explicit and it was missing from the match side of the tests.

Also moved to time.Date from time.Parse to get rid of some unneeded error handling and migrated the tests to use testify to make the output more clear.