Ejemplo n.º 1
0
 def test_get_client_raises_addon_error_if_user_doesnt_have_addon_enabled(self):
     user_no_box = UserFactory()
     with assert_raises(AddonError):
         get_client(user_no_box)
Ejemplo n.º 2
0
 def test_get_client_raises_addon_error_if_user_doesnt_have_addon_enabled(
         self):
     user_no_box = UserFactory()
     with assert_raises(AddonError):
         get_client(user_no_box)
Ejemplo n.º 3
0
 def test_get_client_returns_a_box_client(self):
     client = get_client(self.user)
     assert_true(isinstance(client, BoxClient))
Ejemplo n.º 4
0
 def test_get_client_returns_a_box_client(self):
     client = get_client(self.user)
     assert_true(isinstance(client, BoxClient))