A legal bid to prevent British Prime Minister Boris Johnson suspending parliament to stop lawmakers blocking a no-deal Brexit will be heard at a Scottish court next month.