Revision afd31426

b/test/kkquotaholderapi.py
1

  
2
# We import our own unittest :)
3
from kkconfig import unittest
4
from kkconfig import new_quota_holder_client
5

  
6

  
7
class KKQuotaHolderAPITest(unittest.TestCase):
8
    def setUp(self):
9
        self.qh = new_quota_holder_client()
10

  
11
    def tearDown(self):
12
        del self.qh
13

  
14
    def test_001_create_entity(self):
15
        pass
16

  
17
    def test_002_set_entity_key(self):
18
        pass
19

  
20
    def test_003_list_entities(self):
21
        pass
22

  
23
    def test_004_get_entity(self):
24
        pass
25

  
26
    def test_005_get_limits(self):
27
        pass
28

  
29
    def test_006_set_limits(self):
30
        pass
31

  
32
    def test_007_get_holding(self):
33
        pass
34

  
35
    def test_008_set_holding(self):
36
        pass
37

  
38
    def test_009_list_resources(self):
39
        pass
40

  
41
    def test_010_get_quota(self):
42
        pass
43

  
44
    def test_011_set_quota(self):
45
        pass
46

  
47
    def test_012_issue_commission(self):
48
        pass
49

  
50
    def test_013_accept_commission(self):
51
        pass
52

  
53
    def test_014_reject_commission(self):
54
        pass
55

  
56
    def test_015_get_pending_commissions(self):
57
        pass
58

  
59
    def test_016_resolve_pending_commissions(self):
60
        pass
61

  
62
    def test_017_release_entity(self):
63
        pass
64

  
65
    def test_018_get_timeline(self):
66
        pass
67

  
68

  
69
if __name__ == "__main__":
70
    unittest.main()

Also available in: Unified diff