# 1. Create a python virtual env
# 2. With that Virtual Env activated, and https://github.com/AutomatedTester/Bugsy/tree/set_cc checked out
#    run python setup.py develop
# 3. Run the code below 

import bugsy
bz = bugsy.Bugsy("dburns@mozilla.com", "password", bugzilla_url="https://bugzilla-dev.allizom.org/rest")
bug = bugsy.Bug()
bug.summary = "I love cheese"
bug.add_comment('I do love sausages')
bz.put(bug)
print bug.id

import pdb; pdb.set_trace()

bug.cc = 'mdas@mozilla.com'
updated_bug = bz.put(bug)