bb7da09624
Change-Id: Ie1b0dac8a8ec1e6d02217fe03159c78a69f6dc5d Closes-Bug: #1317657
23 lines
412 B
Python
23 lines
412 B
Python
# Copyright 2013 IBM Corp.
|
|
|
|
"""
|
|
The class FakeCTX is used to produce the fake data of CTX
|
|
"""
|
|
|
|
|
|
class FakeCTX():
|
|
|
|
user_id = None
|
|
project_id = None
|
|
|
|
def __init__(self):
|
|
|
|
self.user_id = "testuser"
|
|
self.project_id = "testproject"
|
|
|
|
def update(self, **update):
|
|
|
|
if not update:
|
|
self.user_id = update['user_id']
|
|
self.project_id = update['project_id']
|