Practice sessions, online or offline, never affect the safety rating. Only time trials, qualifying, and races affect safety rating, so you have nothing to worry about! It's weighted too. Time trials only affect your rating a little. Qualifying affects it a bit more, and races affect it the most.