Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Cases should not need to connect to KMC #86

Open
flipmcf opened this issue Nov 19, 2014 · 1 comment
Open

Test Cases should not need to connect to KMC #86

flipmcf opened this issue Nov 19, 2014 · 1 comment

Comments

@flipmcf
Copy link
Member

flipmcf commented Nov 19, 2014

tests/test_kutils.py requires a connection to the KMC.

Create a dummy client that does what the KMC "should" do during a call to client.media.list()
(see kutils.getTagVids, which does the call to the KMC)

The failure that is occuring at the current revision:
65092d8

Is due to a sync issue of tags during creation of the Plone Object - which should be a separate test.

@flipmcf
Copy link
Member Author

flipmcf commented Nov 26, 2014

See the use of _Monkey in test_content - this is working.

Able to override kconnect() to return a dummy client, which can be leveraged for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant