~allenap/maas/xxx-a-thon

« back to all changes in this revision

Viewing changes to src/maasserver/rpc/tests/test_nodes.py

  • Committer: MAAS Lander
  • Author(s): Gavin Panella
  • Date: 2016-02-11 12:25:26 UTC
  • mfrom: (4650.1.1 remove-simplejson)
  • Revision ID: maas_lander-20160211122526-21bdxd2jqitaqjtm
[r=blake-rouse,andreserl][bug=1543828][author=allenap] Remove simplejson as a dependency; use the stdlib's json module instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
from datetime import timedelta
9
9
import json
 
10
from json import dumps
10
11
from operator import attrgetter
11
12
import random
12
13
from random import randint
44
45
    NodeStateViolation,
45
46
    NoSuchNode,
46
47
)
47
 
from simplejson import dumps
48
48
from testtools import ExpectedException
49
49
from testtools.matchers import (
50
50
    GreaterThan,