If you didn't realize, the USSR had elections, a legislative body, and formal rights in its constitution.
It was always bullshit because the Communist party was effectively the only one with legal status, and had a political monopoly due to the Leninist concept of vanguardism.
But if you didn't know better, or were a rube for Stalin, you might have even called it a democracy.