#NEWLINE# def test_raw_precedence( client , site ) : #NEWLINE# #INDENT# 'Makes sure raw kwarg site_id takes precedence' #NEWLINE# n = Network ( client = client , site_id = site [ 'id' ] , cidr = '8.8.8.0/24' ) #NEWLINE# assert n . ensure ( ) #NEWLINE# raw = n . existing_resource ( ) #NEWLINE# n2 = Network ( client = client , site = 999 , raw = n ) #NEWLINE# assert ( n2 [ 'site_id' ] != 999 )