'Create org specific user tags and confirm all properties are set'

def test_create_user_org_tags(self):

    user = UserFactory.create()
    course = CourseFactory.create()
    tag = UserOrgTagFactory.create(user=user, org=course.id.org, key='testkey', value='foobar')
    self.assertEquals(tag.user, user)
    self.assertEquals(tag.org, course.id.org)
    self.assertEquals(tag.key, 'testkey')
    self.assertEquals(tag.value, 'foobar')
    self.assertIsNotNone(tag.created)
    self.assertIsNotNone(tag.modified)
    original_modified = tag.modified
    tag.value = 'barfoo'
    tag.save()
    self.assertEquals(tag.value, 'barfoo')
    self.assertNotEqual(original_modified, tag.modified)
