2 Tests for generated client code
10 from juju
.client
import client
16 for i
in range(1,5): # Assert versions 1-4 in client dict
17 assert str(i
) in client
.CLIENTS
20 def test_from_connection():
21 connection
= mock
.Mock()
22 connection
.facades
= {"Action": 2}
23 action_facade
= client
.ActionFacade
.from_connection(connection
)