#NEWLINE# def test_save_if_has_no_pk( self ) : #NEWLINE# #INDENT# obj = SQLQueryFactory . build ( start_time = self . start_time , end_time = obj . end_time ) #NEWLINE# obj . request = RequestMinFactory . create ( ) #NEWLINE# obj . save ( ) #NEWLINE# self . assertEqual ( obj . request . num_sql_queries , 1 )